Malik related to me from Nafi from Abdullah ibn Umar that the Messenger of Allah ﷺ said, "Whoever acquires a dog other than a sheepdog or hunting dog, will have two qirats deducted from the reward of his good actions every day."
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ مَنِ اقْتَنَى كَلْبًا إِلاَّ كَلْبًا ضَارِيًا أَوْ كَلْبَ مَاشِيَةٍ نَقَصَ مِنْ عَمَلِهِ كُلَّ يَوْمٍ قِيرَاطَانِ