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