"Then on that very morning, he [Muhammad] commanded the killing of the dogs until he announced that the dog kept for the orchards should also be killed, but he spared the dog meant for the protection of extensive fields [or big gardens]."
January 1, 1970
https://en.wikiquote.org/wiki/Sahih_Muslim