Language:
كتاب اللباس
77  
Dress
(95)
Chapter: Whoever does not enter a house having a picture in it
(95)
باب مَنْ لَمْ يَدْخُلْ بَيْتًا فِيهِ صُورَةٌ
Sahih al-Bukhari 5961

Narrated `Aisha:

(the wife of the Prophet) I bought a cushion having pictures on it. When Allah's Messenger (ﷺ) saw it, he stopped at the gate and did not enter. I noticed the signs of hatred (for that) on his face! I said, "O Allah's Messenger (ﷺ)! I turn to Allah and His Apostle in repentance! What sin have I committed?" He said, "What about this cushion?" I said, 'I bought it for you to sit on and recline on." Allah's Messenger (ﷺ) said, "The makers of these pictures will be punished (severely) on the Day of Resurrection and it will be said to them, 'Make alive what you have created.'" He added, "Angels do not enter a house in which there are pictures."

حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مَسْلَمَةَ، عَنْ مَالِكٍ، عَنْ نَافِعٍ، عَنِ الْقَاسِمِ بْنِ مُحَمَّدٍ، عَنْ عَائِشَةَ ـ رضى الله عنها ـ زَوْجِ النَّبِيِّ صلى الله عليه وسلم أَنَّهَا أَخْبَرَتْهُ أَنَّهَا اشْتَرَتْ نُمْرُقَةً فِيهَا تَصَاوِيرُ، فَلَمَّا رَآهَا رَسُولُ اللَّهِ صلى الله عليه وسلم قَامَ عَلَى الْبَابِ فَلَمْ يَدْخُلْ، فَعَرَفَتْ فِي وَجْهِهِ الْكَرَاهِيَةَ قَالَتْ يَا رَسُولَ اللَّهِ أَتُوبُ إِلَى اللَّهِ وَإِلَى رَسُولِهِ، مَاذَا أَذْنَبْتُ قَالَ ‏"‏ مَا بَالُ هَذِهِ النُّمْرُقَةِ ‏"‏‏.‏ فَقَالَتِ اشْتَرَيْتُهَا لِتَقْعُدَ عَلَيْهَا وَتَوَسَّدَهَا‏.‏ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ إِنَّ أَصْحَابَ هَذِهِ الصُّوَرِ يُعَذَّبُونَ يَوْمَ الْقِيَامَةِ، وَيُقَالُ لَهُمْ أَحْيُوا مَا خَلَقْتُمْ ـ وَقَالَ ـ إِنَّ الْبَيْتَ الَّذِي فِيهِ الصُّوَرُ لاَ تَدْخُلُهُ الْمَلاَئِكَةُ ‏"‏‏.‏
Reference : Sahih al-Bukhari 5961
In-book reference : Book 77, Hadith 177
USC-MSA web (English) reference : Vol. 7, Book 72, Hadith 844
  (deprecated numbering scheme)