(10) بَاب الْأَمْرِ بِقَتْلِ الْكِلَابِ وَبَيَانِ نَسْخِهِ وَبَيَانِ تَحْرِيمِ اقْتِنَائِهَا إِلَّا لِصَيْدٍ أَوْ زَرْعٍ أَوْ مَاشِيَةٍ وَنَحْوِ ذَلِكَ
Ibn Umar (Allah be pleased with him) reported Allah's Messenger (ﷺ) as saying:
He who keeps a dog other than that meant for watching the herd or for hunting loses every day out of his deeds equal to two qirat.
Reference: Sahih Muslim 1574 a
In-book reference: Book 22, Hadith 62
USC-MSA web (English) reference(deprecated numbering scheme): Book 10, Hadith 3815