The Book of Musaqah
22/10. Chapter:
The command to kill dogs, and its abrogation. The prohibition of keeping dogs, except for hunting, farming, (herding) livestock and the like
Sahih Muslim
حَدَّثَنَا أَحْمَدُ بْنُ الْمُنْذِرِ، حَدَّثَنَا عَبْدُ الصَّمَدِ، حَدَّثَنَا حَرْبٌ، حَدَّثَنَا يَحْيَى بْنُ أَبِي كَثِيرٍ، بِهَذَا الإِسْنَادِ مِثْلَهُ .
This hadith has been reported on the authority of Yahya b. Abu Kathir with the same chain of transmitters.
Reference : Sahih Muslim 1575eIn-book reference : Book 22, Hadith 73USC-MSA web (English) reference : Book 10, Hadith 3826