I used to come to the Messenger of Allah ﷺ every morning. If he cleared his throat, I would enter, and if he was silent, I would not enter.He came out to me and said, "Something happened last night. I heard a rustling sound in the house, and there was Jibreel . I asked him, 'What kept you from entering the house?' He replied, 'There is a dog in the house.'"He said, "I went in and found a puppy belonging to Hasan under a chair of ours."Then he said, "The angels do not enter a house in which there is one of three things, a dog, an image, or a person in a state of major impurity."
حدثنا عبد الرزاق أخبرنا سفيان عن جابر عن عبد الله بن نجي
كنت آتي رسول الله ﷺ كل غداة فإذا تنحنح دخلت وإذا سكت لم أدخل قال فخرج إلي فقال حدث البارحة أمر سمعت خشخشة في الدار فإذا أنا بجبريل عليه السلام فقلت ما منعك من دخول البيت فقال في البيت كلب قال فدخلت فإذا جرو للحسن تحت كرسي لنا قال فقال إن الملائكة لا يدخلون البيت إذا كان فيه ثلاث كلب أو صورة أو جنب
Its isnad is very daif for two reasons, because of the weakness of Jabir Jafi, and because of its disconnection, since Abdullah bin Naji did not hear it from Ali. It has already occurred in abridged and disconnected form at 608, and it has occurred connected with sahih chains at 632, 647, and 815. It will also occur connected at 1172 and disconnected at 1289.