(10) بَاب الْأَمْرِ بِقَتْلِ الْكِلَابِ وَبَيَانِ نَسْخِهِ وَبَيَانِ تَحْرِيمِ اقْتِنَائِهَا إِلَّا لِصَيْدٍ أَوْ زَرْعٍ أَوْ مَاشِيَةٍ وَنَحْوِ ذَلِكَ
Abu Huraira (Allah be pleased with him) reported Allah's Messenger (ﷺ) as saying:
He who kept a dog except one meant for watching the herd, or for hunting or for watching the fields. he lost two qirat of reward every day. Zuhri said: The words of Abu Huraira (Allah be pleased with him) were conveyed to Ibn Umar who said: May Allah have mercy upon Abu Huraira; he owned a field.
Reference: Sahih Muslim 1575 b
In-book reference: Book 22, Hadith 70
USC-MSA web (English) reference(deprecated numbering scheme): Book 10, Hadith 3823