It wasnarrated from 'Abdullah bin Mughaffal that the Messenger ofAllah(ﷺ) commanded that dogs be killed, then he said:
"What do theyuse dogs for?" Then he permitted them to keep hunting dogs. (IT)
English reference (IT): Vol. 4, Book 28, Hadith 3200 (IT)
Arabic reference (IT): Book 28, Hadith 3321 (IT)