Sufyan bin Abu Zuhayr reported,

He was speaking to some people with him at the door of the mosque, and he said, "I heard the Messenger of Allah ﷺ say, 'Whoever keeps a dog that is of no use to him for guarding crops or livestock, a qirat is deducted from his deeds every day.'"Zirr asked, "Did you yourself hear this from the Messenger of Allah ﷺ?"He replied, "Yes, by the Lord of this mosque."

Azami 5817

Sahih

عن سفيان بن أبي زهير- وهو رجل من أزد شنوءة من أصحاب رسول الله ﷺ

وهو يحدث ناسا معه عند باب المسجد، فقال: سمعت رسول الله ﷺ يقول: من اقتنى كلبا لا يغني عنه زرعا، ولا ضرعا، نقص من عمله كل يوم قيراط. قال: أنت سمعت هذا من رسول الله ﷺ؟ فقال: أي، ورب هذا المسجد.

الأعظمي 5817صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Sales
Chapter
Prohibited sales
Section
Prohibition of keeping dogs except for herding, hunting, or farming
Numbering
Jami al-Kamil 5817 (2nd edition)
Azami 5817