كتاب اللباس والزينة
37
The Book of Clothes and Adornment
(26)
Chapter: The Prohibition Of Making Images Of Living Beings, And The Prohibition Of Using Images That Are Not Subjected To Disrespect In Furnishings And The Like; The Angels (Peace Be Upon Them) Do Not Enter A House In Which There Is An Image Or A Dog
(26)
بَاب تَحْرِيمِ تَصْوِيرِ صُورَةِ الْحَيَوَانِ وَتَحْرِيمِ اتِّخَاذِ مَا فِيهِ صُورَةٌ غَيْرُ مُمْتَهَنَةٍ بِالْفَرْشِ وَنَحْوِهِ

A'isha reported that she bought a carpet which had pictures on it. When Allah's Messenger (ﷺ) saw that, he stayed at the door and did not get in. I perceived or I was made to perceive upon his face signs of disgust. She said:

Allah's Messenger, I offer repentance to Allah and His Messenger. (but tell me) what is the sin that I have committed. Thereupon Allah's Messenger (ﷺ) said: What is this carpet? She said: I bought it for you so that you might sit on it and take rest. Thereupon Allah's Messenger (ﷺ) said: The owners of these pictures would be tormented and they would be asked to bring to life what they tried to create. He then said: Angels do not enter the house in which there is a picture.
حَدَّثَنَا يَحْيَى بْنُ يَحْيَى، قَالَ قَرَأْتُ عَلَى مَالِكٍ عَنْ نَافِعٍ، عَنِ الْقَاسِمِ بْنِ مُحَمَّدٍ، عَنْ عَائِشَةَ، أَنَّهَا اشْتَرَتْ نُمْرَقَةً فِيهَا تَصَاوِيرُ فَلَمَّا رَآهَا رَسُولُ اللَّهِ صلى الله عليه وسلم قَامَ عَلَى الْبَابِ فَلَمْ يَدْخُلْ فَعَرَفْتُ أَوْ فَعُرِفَتْ فِي وَجْهِهِ الْكَرَاهِيَةُ فَقَالَتْ يَا رَسُولَ اللَّهِ أَتُوبُ إِلَى اللَّهِ وَإِلَى رَسُولِهِ فَمَاذَا أَذْنَبْتُ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ مَا بَالُ هَذِهِ النُّمْرُقَةِ ‏"‏ ‏.‏ فَقَالَتِ اشْتَرَيْتُهَا لَكَ تَقْعُدُ عَلَيْهَا وَتَوَسَّدُهَا ‏.‏ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ إِنَّ أَصْحَابَ هَذِهِ الصُّوَرِ يُعَذَّبُونَ وَيُقَالُ لَهُمْ أَحْيُوا مَا خَلَقْتُمْ ‏"‏ ‏.‏ ثُمَّ قَالَ ‏"‏ إِنَّ الْبَيْتَ الَّذِي فِيهِ الصُّوَرُ لاَ تَدْخُلُهُ الْمَلاَئِكَةُ ‏"‏ ‏.‏
Reference : Sahih Muslim 2107 n
In-book reference : Book 37, Hadith 146
USC-MSA web (English) reference : Book 24, Hadith 5266
  (deprecated numbering scheme)