Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:845ʿAbd al-Razzāq > Sufyān > Jābir > ʿAbdullāh b. Nujay > ʿAlī

I used to come to the Messenger of Allah ﷺ every morning. If he cleared his throat, I would enter, and if he remained silent, I would not enter. He came out to me (on one occasion) and said: “Something happened last night. I heard some movement in the house, then I saw Jibreel (عليه السلام). I said: ‘What prevented you from entering the house?ʿ He said: “In the house there is a dog.ʿ I went in and I saw a puppy belonging to al-Hasan beneath a chair of ours. He [Jibreel] said: “The angels do not enter a house if there are three things in it: a dog or an image or a person who is junub.ʿ  

أحمد:٨٤٥حَدَّثَنَا عَبْدُ الرَّزَّاقِ أَخْبَرَنَا سُفْيَانُ عَنْ جَابِرٍ عَنْ عَبْدِ اللهِ بْنِ نُجَيٍّ عَنْ عَلِيٍّ قَالَ

كُنْتُ آتِي رَسُولَ اللهِ ﷺ كُلَّ غَدَاةٍ فَإِذَا تَنَحْنَحَ دَخَلْتُ وَإِذَا سَكَتَ لَمْ أَدْخُلْ قَالَ فَخَرَجَ إِلَيَّ فَقَالَ حَدَثَ الْبَارِحَةَ أَمْرٌ سَمِعْتُ خَشْخَشَةً فِي الدَّارِ فَإِذَا أَنَا بِجِبْرِيلَ عَلَيْهِ السَّلامُ فَقُلْتُ مَا مَنَعَكَ مِنْ دُخُولِ الْبَيْتِ؟ فَقَالَ فِي الْبَيْتِ كَلْبٌ قَالَ فَدَخَلْتُ فَإِذَا جَرْوٌ لِلْحَسَنِ تَحْتَ كُرْسِيٍّ لَنَا قَالَ فَقَالَ إِنَّ الْمَلائِكَةَ لَا يَدْخُلُونَ الْبَيْتَ إِذَا كَانَ فِيهِ ثَلاثٌ كَلْبٌ أَوْ صُورَةٌ أَوْ جُنُبٌ