In the hadith transmitted on the authority of Yahya, he (the Holy Prophet) permitted the…

Sahih Muslim Book 22 Hadith 61

Sahih Muslim #1573 b

The Book of Musaqah 22:61

In the hadith transmitted on the authority of Yahya, he (the Holy Prophet) permitted the keeping of dogs for (the protection of) herds, for hunting and (the protection of) cultivated land.

Chapter: The command to kill dogs, and its abrogation. The prohibition of keeping dogs, except for hunting, farming, (herding) livestock and the like

Grade: Sahih