“The Messenger of Allah ﷺ said: ‘Whoever keeps a dog, one Qirat will be deducted from him (good) deeds every day, except a dog for farming or herding livestock.” (Using translation from Ibn Mājah 3204)
قَالَ رَسُولُ اللهِ ﷺ مَنِ اقْتَنَى كَلْبًا إِلَّا كَلْبَ ضَارٍ أَوْ كَلْبَ مَاشِيَةٍ نَقَصَ مِنْ عَمَلِهِ كُلَّ يَوْمٍ قِيرَاطَانِ