(10) بَاب الْأَمْرِ بِقَتْلِ الْكِلَابِ وَبَيَانِ نَسْخِهِ وَبَيَانِ تَحْرِيمِ اقْتِنَائِهَا إِلَّا لِصَيْدٍ أَوْ زَرْعٍ أَوْ مَاشِيَةٍ وَنَحْوِ ذَلِكَ
Abu Huraira reported Allah's Messenger (ﷺ) as saying:
He who kept a dog which is neither meant for hunting nor for watching the anitmals nor for watching the fields would lose two qirat every day out of his reward; and there is no mention of the fields in the hadith transmitted by Abu Tahir.
Reference: Sahih Muslim 1575 a
In-book reference: Book 22, Hadith 69
USC-MSA web (English) reference(deprecated numbering scheme): Book 10, Hadith 3822