حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا شَبَابَةُ، حَدَّثَنَا شُعْبَةُ، عَنْ أَبِي التَّيَّاحِ، قَالَ سَمِعْتُ مُطَرِّفًا، يُحَدِّثُ عَنْ عَبْدِ اللَّهِ بْنِ مُغَفَّلٍ، أَنَّ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ أَمَرَ بِقَتْلِ الْكِلاَبِ ثُمَّ قَالَ ‏"‏ مَا لَهُمْ وَلِلْكِلاَبِ ‏"‏ ‏.‏ ثُمَّ رَخَّصَ لَهُمْ فِي كَلْبِ الصَّيْدِ ‏.‏

It wasnarrated from ‘Abdullah bin Mughaffal that the Messenger ofAllah(PBUH) commanded that dogs be killed, then he said: “What do theyuse dogs for?” Then he permitted them to keep hunting dogs. Translation Not Available

Book Ref: Sunan Ibn Majah Book 28 Hadith 3200
Web Ref:  Sunan Ibn Majah Vol 4 Book 28 Hadith 3200