Ibn 'Umar reported Messenger of Allah ﷺ as saying He who kept a dog other than one meant for hunting or for watching the herd lost out of his deeds (equal to) two qirat every day. (Using translation from Muslim 1574c)
قَالَ رَسُولُ اللَّهِ ﷺ «مَنْ اقْتَنَى كَلْبًا إِلَّا كَلْبَ صَيْدٍ أَوْ مَاشِيَةٍ نَقَصَ مِنْ عَمَلِهِ كُلَّ يَوْمٍ قِيرَاطَانِ»