Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Whoever keeps a dog will have one qirat deducted from his deeds each day, except for a dog kept for farming or for livestock."

Muslim 4032

Sahih

حدثني زهير بن حرب حدثنا إسمعيل بن إبراهيم حدثنا هشام الدستوائي حدثنا يحيى بن أبي كثير عن أبي سلمة

عن أبي هريرة قال

قال رسول الله ﷺ من أمسك كلبا فإنه ينقص من عمله كل يوم قيراط إلا كلب حرث أو ماشية

مسلم 4032صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Sharecropping of orchards
Chapter
Command to kill dogs, its abrogation, and the prohibition of keeping them except for hunting, farming, livestock, and similar purposes
Numbering
Darussalam 4032
Muslim 4032