Sunan an-Nasa'i, Book 48, Hadith 317 (In-Book)

It was narrated that 'Aishah said: "The Messenger of Allah [SAW] came from a journey, and I had hung a curtain on which there were images over a niche. He took it down and said: 'The people who will be most severely punished on the Day of Resurrection will be those who try to match the creation of Allah.'"

أَخْبَرَنَا قُتَيْبَةُ، قَالَ حَدَّثَنَا سُفْيَانُ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ الْقَاسِمِ، عَنْ أَبِيهِ، عَنْ عَائِشَةَ، قَالَتْ قَدِمَ رَسُولُ اللَّهِ صلى الله عليه وسلم مِنْ سَفَرٍ وَقَدْ سَتَّرْتُ بِقِرَامٍ عَلَى سَهْوَةٍ لِي فِيهِ تَصَاوِيرُ فَنَزَعَهُ وَقَالَ ‏ "‏ أَشَدُّ النَّاسِ عَذَابًا يَوْمَ الْقِيَامَةِ الَّذِينَ يُضَاهُونَ بِخَلْقِ اللَّهِ ‏" ‏ ‏.‏

sunnah.com