(10) بَاب الْأَمْرِ بِقَتْلِ الْكِلَابِ وَبَيَانِ نَسْخِهِ وَبَيَانِ تَحْرِيمِ اقْتِنَائِهَا إِلَّا لِصَيْدٍ أَوْ زَرْعٍ أَوْ مَاشِيَةٍ وَنَحْوِ ذَلِكَ
Ibn Umar (Allah be pleased with them) narrated Allah's Messenger (ﷺ) as saying:
He who kept a dog ther than one meant for watching the fields or herds or hunting would lose one qirat every day out of his reward (with God).
Reference: Sahih Muslim 1574 g
In-book reference: Book 22, Hadith 68
USC-MSA web (English) reference(deprecated numbering scheme): Book 10, Hadith 3821