Abdullah bin Umar reported,

The Messenger of Allah ﷺ said, "Whoever keeps a dog, other than one for guarding crops, livestock, or hunting, his deeds will be reduced by one qirat each day."I said to Ibn Umar, "What if the dog is in the house and I dislike its presence?"He replied, "The responsibility falls upon the owner of the house who possesses it."

Ahmad 4813

Sahih

حدثنا يزيد أخبرنا همام بن يحيى عن قتادة عن أبي الحكم البجلي

عن ابن عمر قال

قال رسول الله ﷺ من اتخذ كلبا غير كلب زرع أو ضرع أو صيد نقص من عمله كل يوم قيراط فقلت لابن عمر إن كان في دار وأنا له كاره قال هو على رب الدار الذي يملكها

أحمد 4813صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Umar
Numbering
Darussalam 4813
Ahmad 4813