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