mishkat 20 Game and Animals Which May Be Slaughtered كتاب الصيد والذبائح 38
عَن عبد الله بنِ مُغفَّلٍ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «لَوْلَا أَنَّ الْكِلَابَ أُمَّةٌ مِنَ الْأُمَمِ لَأَمَرْتُ بِقَتْلِهَا كُلِّهَا فَاقْتُلُوا مِنْهَا كُلَّ أَسْوَدَ بَهِيمٍ» . رَوَاهُ أَبُو دَاوُدَ وَالدَّارِمِيُّ وَزَادَ التِّرْمِذِيُّ وَالنَّسَائِيُّ: «وَمَا مِنْ أَهْلِ بَيْتٍ يَرْتَبِطُونَ كَلْبًا إِلَّا نَقَصَ مِنْ عَمَلِهِمْ كُلَّ يَوْمٍ قِيرَاطٌ إِلَّا كَلْبَ صَيْدٍ أَوْ كَلْبَ حَرْثٍ أَوْ كَلْبَ غنم»
Abdallah b. Mughaffal reported the Prophet as saying, “Were dogs not a species of creature I should command that they all be killed; but kill every pure black one.” Abu Dawud and Darimi transmitted it. Tirmidhi and Nasa’i added, “No family attaches itself to a dog without a qirat of their good deeds being deducted daily, except in the case of a hunting dog, a farm dog, or a sheepdog.”
Reference : Mishkat al-Masabih 4102 In-book reference : Book 20, Hadith 38: