Ayesha reported,

I stuffed a cushion for the Prophet ﷺ decorated with figures, like a small pillow. He came and stood between the two doors, and his face began to change.I asked, "What is wrong, Messenger of Allah?"He said, "What is this cushion doing here?"I replied, "It is a cushion I made for you to recline upon."He said, "Do you not know that angels do not enter a house in which there is an image, and that whoever makes an image will be punished on the Day of Resurrection? It will be said to him, 'Bring to life what you have created.'"

Bukhari 3224

Sahih

حدثنا محمد أخبرنا مخلد أخبرنا ابن جريج عن إسماعيل بن أمية أن نافعا حدثه أن القاسم بن محمد حدثه

عن عائشة رضي الله عنها قالت

حشوت للنبي ﷺ وسادة فيها تماثيل كأنها نمرقة فجاء فقام بين البابين وجعل يتغير وجهه فقلت ما لنا يا رسول الله قال ما بال هذه الوسادة قالت وسادة جعلتها لك لتضطجع عليها قال أما علمت أن الملائكة لا تدخل بيتا فيه صورة وأن من صنع الصورة يعذب يوم القيامة يقول أحيوا ما خلقتم

البخاري 3224صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Beginning of creation
Chapter
If one of you says Ameen and the angels in heaven say it, and one coincides with the other, his previous sins will be forgiven
Numbering
Darussalam 3224
Bukhari 3224