[Machine] I heard the Messenger of Allah ﷺ saying, "Whoever owns a dog, except for a dog used for herding animals or farming, will have two Qirats deducted from his reward every day." This narration is reported by Abdullah ibn Dinar in a Sahih Hadith from another source.
سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ مَنِ اقْتَنَى كَلْبًا إِلَّا كَلْبَ ضَارِيَةٍ أَوْ مَاشِيَةٍ نَقَصَ مِنْ أَجْرِهِ كُلَّ يَوْمٍ قِيرَاطَانِ أَخْرَجَاهُ فِي الصَّحِيحِ مِنْ وَجْهٍ آخَرَ عَنْ عَبْدِ اللهِ بْنِ دِينَارٍ