[Machine] The Messenger of Allah ﷺ said, "Whoever keeps a dog, except a dog for herding or guarding, then every day, two qirats (a measurement of weight) will be deducted from his good deeds." And in another narration, it says, "a dog for guarding."
قَالَ رَسُولُ اللهِ ﷺ مَنِ اقْتَنَى كَلْبًا إِلَّا كَلْبَ مَاشِيَةٍ أَوْ ضَارِيًا نَقَصَ مِنْ عَمَلِهِ كُلَّ يَوْمٍ قِيرَاطَانِ وَفِي رِوَايَةِ يَحْيَى ضَارِيَةٍ