“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)
قَالَ رَسُولُ اللهِ ﷺ مَنْ أَمْسَكَ كَلْبًافَإِنَّهُ يُنْقِصُ مِنْ عَمَلِهِ كُلَّ يَوْمٍ قِيرَاطًا إِلَّا كَلْبَ حَرْثٍ أَوْ مَاشِيَةٍ