كتاب الصيد والذبائح
Read the English translation first, with the original Arabic directly underneath.
It was narrated from 'Abdullah bin Mughaffal that the Prophet (ﷺ) said:
"Whoever keeps a dog, except a dog for hunting, herding livestock or farming, one Qurat will be deducted from his reward each day."
مَنِ اتَّخَذَ كَلْبًا إِلاَّ كَلْبَ صَيْدٍ أَوْ مَاشِيَةٍ أَوْ زَرْعٍ نَقَصَ مِنْ أَجْرِهِ كُلَّ يَوْمٍ قِيرَاطٌ