Ali bin Abu Talib reported,

I had two times when I would enter upon the Messenger of Allah ﷺ, one by night and one by day. Whenever I came in while he was praying, he would clear his throat to signal me.One night I went to him and he said, "Do you know what the angel told me tonight? I was praying when I heard a rustling in the house, so I went out and there was Jibreel عليه السلام. He said, 'I have been waiting for you all this night. There is a dog in your house, so I could not enter. We do not enter a house in which there is a dog, a person in a state of major ritual impurity, or an image.'"

Ahmad 608

Daif

حدثنا أبو بكر بن عياش حدثنا مغيرة بن مقسم حدثنا الحارث العكلي عن عبد الله بن نجي قال

قال علي رضي الله عنه

كان لي من رسول الله ﷺ مدخلان بالليل والنهار وكنت إذا دخلت عليه وهو يصلي تنحنح فأتيته ذات ليلة فقال أتدري ما أحدث الملك الليلة كنت أصلي فسمعت خشفة في الدار فخرجت فإذا جبريل عليه السلام فقال ما زلت هذه الليلة أنتظرك إن في بيتك كلبا فلم أستطع الدخول وإنا لا ندخل بيتا فيه كلب ولا جنب ولا تمثال

أحمد 608ضعيف
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Ali bin Abu Talib
Numbering
Darussalam 608
Ahmad 608