The Messenger of Allah ﷺ said, "The angels do not enter a house in which there are statues or images."
قال رسول الله ﷺ: إن الملائكة لا تدخل بيتا فيه تماثيل أو تصاوير.
Malik narrated it in "Seeking Permission" (6) from Ishaq bin Abdullah bin Abu Talha, that Rafi bin Ishaq, the freedman of Shifa, told him, saying, "Abdullah bin Abu Talha and I went in to visit Abu Saeed Khudri, and he said to us..." (he then related the hadith). Ishaq was uncertain and did not know which of the two had said it. Tirmidhi (2805) narrated it through this same route and said, "Hasan sahih." Through Malik's route, Ibn Hibban also narrated it in his Sahih (5849).On this subject there is also a narration from Ali bin Abu Talib, who said, "I had a standing with the Messenger of Allah ﷺ that no one else among creation had. I used to come to him every predawn and greet him until he would clear his throat. One night I came and greeted him, saying, 'Peace be upon you, O Prophet of Allah,' and he said, 'Take your time, Abu Hasan, until I come out to you.' When he came out to me, I said, 'O Prophet of Allah, has anyone angered you?' He said, 'No.' I said, 'Then why did you not speak with me before, until you spoke to me tonight?' He said, 'I heard a movement in the room and said, "Who is this?" He said, "I am Jibreel." I said, "Come in." He said, "No, come out to me." When I went out, he said, "There is something in your house that no angel will enter as long as it remains there." I said, "I am not aware of it, Jibreel." He said, "Go and look." So I opened the house and found nothing in it except a puppy that Hasan had been playing with. I said, "I found nothing but a puppy!" He said, "There are three things, and no angel will ever enter a place containing any one of them, a dog, ritual impurity, or an image bearing a soul."'"This is daif. Imam Ahmad (647) narrated it from Muhammad bin Ubayd, who said, Shurahbil bin Mudrik Jufi told us, from Abdullah bin Naji Hadrami, from his father, from Ali, and he related it.There is disagreement about Abdullah bin Naji. Nasai deemed him reliable, while Bukhari said, "There is something questionable about him," and Hafiz placed him at the rank of "truthful." His father, Naji (in the diminutive form) Hadrami Kufi, had no one report from him except his son. Ibn Hibban mentioned him among the reliable narrators, Ajli said, "A reliable successor," and Ibn Saad said, "He has few hadiths." In Taqrib, it says, "Acceptable." This is the correct view, except that his narration was not corroborated, so his hadith is weak.Nasai (1213) and Ibn Khuzayma (902) narrated it in abridged form through this same route, and Ibn Khuzayma titled the chapter, "The permission for clearing the throat during prayer when someone seeks entry while the person is praying, if this wording is sound, for they have disagreed about it." He then narrated it through another route in which Abdullah bin Naji did not say "from his father." Abdullah bin Naji never met Ali, so there is a break in the chain.