"The Messenger of Allah (ﷺ) ordered killing dogs, except for the hunting dog, or the dog that guards livestock." It was said to him: "Abu Hurairah would say: 'or a farm dog' so he (Ibn 'Umar) said: "Abu Hurairah had a farm."
Reference: Jami` at-Tirmidhi 1488 In-book : Book 18, Hadith 30 English translation : Vol. 3, Book 16, Hadith 1488
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.