The Prophet ﷺ said, "The angels do not enter a house in which there is an image, a dog, or a person in a state of major ritual impurity."
حدثنا حفص بن عمر حدثنا شعبة عن علي بن مدرك عن أبي زرعة بن عمرو بن جرير عن عبد الله بن نجي عن أبيه
عن النبي ﷺ قال لا تدخل الملائكة بيتا فيه صورة ولا كلب ولا جنب
[Hasan]. Previously mentioned as h. 227. Also narrated by Ibn Majah in the Book of Clothing, Chapter on Images in the House, h. 3650, and Nasai, h. 262, from the hadith of Shubah, through the same route.