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. (RU)
English reference (RU): Vol. 4, Book 28, Hadith 3200 (RU)
Arabic reference (RU): Book 28, Hadith 3321 (RU)