Sahih Muslim 2110b
Anas b. Malik said: I was sitting with Ibn Ahbas when he gave religious verdicts but he did not say that it was Messenger of Allah ﷺ who had said that. However when a man said to him (Ibn 'Abbas): I am the painter of these pictures. Ibn 'Abbas said: I heard Messenger of Allah ﷺ as saying: He who painted pictures in the world would be compelled to breathe soal in them on the Day of Resurrection, but he would not be able to breathe soul (in them).
وَحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا عَلِيُّ بْنُ مُسْهِرٍ، عَنْ سَعِيدِ بْنِ أَبِي عَرُوبَةَ، عَنِ النَّضْرِ بْنِ أَنَسِ بْنِ مَالِكٍ، قَالَ كُنْتُ جَالِسًا عِنْدَ ابْنِ عَبَّاسٍ فَجَعَلَ يُفْتِي وَلاَ يَقُولُ قَالَ رَسُولُ اللَّهِ ﷺ حَتَّى سَأَلَهُ رَجُلٌ فَقَالَ إِنِّي رَجُلٌ أُصَوِّرُ هَذِهِ الصُّوَرَ . فَقَالَ لَهُ ابْنُ عَبَّاسٍ ادْنُهْ . فَدَنَا الرَّجُلُ فَقَالَ ابْنُ عَبَّاسٍ سَمِعْتُ رَسُولَ اللَّهِ ﷺ يَقُولُ " مَنْ صَوَّرَ صُورَةً فِي الدُّنْيَا كُلِّفَ أَنْ يَنْفُخَ فِيهَا الرُّوحَ يَوْمَ الْقِيَامَةِ وَلَيْسَ بِنَافِخٍ " .