The Book of Transactions (Kitab Al-Buyu`)

Muslim :: Book 10 : Hadith 3812

Ibn Umar (Allah be pleased with them) reported that Allah's Messenger (may peace be, upon him) ordered the killing of dogs except the dog tamed for hunting, or watching of the herd of sheep or other domestic animals. It was said to Ibn Umar (Allah be pleased with them) that Abu Huraira (Allah be pleased with him) talks of (exception) about the dog for watching the field, whereupon he said: Since Abu Huraira (Allah be pleased with him) possessed land.

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star