Sunan an-Nasa'i, Hadith 4291 ⓘ
It was narrated from Salim bin 'Abdullah that his father said: "The Messenger of Allah said: "Whoever keeps a dog, except a dog for herding livestock or a dog for hunting, one Qirat will be deducted from his reward each day." 'Abdullah said: "Abu Hurairah said: 'Or a dog for farming.'"
أَخْبَرَنَا عَلِيُّ بْنُ حُجْرٍ، قَالَ حَدَّثَنَا إِسْمَاعِيلُ، - يَعْنِي ابْنَ جَعْفَرٍ - قَالَ حَدَّثَنَا مُحَمَّدُ بْنُ أَبِي حَرْمَلَةَ، عَنْ سَالِمِ بْنِ عَبْدِ اللَّهِ، عَنْ أَبِيهِ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " مَنِ اقْتَنَى كَلْبًا إِلاَّ كَلْبَ مَاشِيَةٍ أَوْ كَلْبَ صَيْدٍ نَقَصَ مِنْ عَمَلِهِ كُلَّ يَوْمٍ قِيرَاطٌ " . قَالَ عَبْدُ اللَّهِ وَقَالَ أَبُو هُرَيْرَةَ " أَوْ كَلْبَ حَرْثٍ " .
also referenced under: Book 42, Hadith 29 (In-Book) & Volume 5, Book 42, Hadith 4296 (DarusSalam)