Sahih Muslim 1576 a
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
مَنِ اقْتَنَى كَلْبًا لاَ يُغْنِي عَنْهُ زَرْعًا وَلاَ ضَرْعًا نَقَصَ مِنْ عَمَلِهِ كُلَّ يَوْمٍ قِيرَاطٌ "
Sufyan b. Abu Zuhair (he was a person belonging to the tribe of Shanu'a and was amongst the Conpanions of Allah's Messenger [ﷺ ) said:
I heard Messenger of Allah (ﷺ) as saying: He who kept a dog (other than that) which is indispensable for watching the field or the animals would lose one qirat out of his deeds every day. As-Sa'ib b Yazid (one of the narrators) said: Did you hear it from Allah's Messenger (ﷺ)? He said: Yes. by the Lord of this mosque.
Full reference and source
Sahih Muslim 1576 a In-book : Book 22, Hadith 75 USC-MSA web (English) : Book 10, Hadith 3828 (deprecated)
View source on Sunnah.com (opens in a new tab)