He said that the Messenger of Allah ﷺ said, "The angels do not enter a house in which there is an image."Busr said, Zayd later fell ill, so we visited him, and there at his door was a curtain with an image on it. I said to Ubaydullah Khawlani, the stepson of Maymuna the wife of the Prophet ﷺ, "Did Zayd not tell us about images the other day?"Ubaydullah replied, "Did you not hear him when he said, 'Except for a pattern on a cloth'?"
حدثنا قتيبة بن سعيد حدثنا الليث عن بكير عن بسر بن سعيد عن زيد بن خالد
أنه قال إن رسول الله ﷺ قال إن الملائكة لا تدخل بيتا فيه صورة قال بسر ثم اشتكى زيد فعدناه فإذا على بابه ستر فيه صورة فقلت لعبيد الله الخولاني ربيب ميمونة زوج النبي ﷺ ألم يخبرنا زيد عن الصور يوم الأول فقال عبيد الله ألم تسمعه حين قال إلا رقما في ثوب
Bukhari narrated it in the Book of Clothing, chapter: One who disliked sitting on images, no. 5958, and Muslim in the Book of Clothing, chapter: The prohibition of depicting images of animals... etc., no. 2106, both from Qutayba with this wording.