Riyad as-Salihin, Book 18, Hadith 1681 (In-Book)

Ibn 'Abbas (May Allah be pleased with them) said: I heard the Messenger of Allah saying, "Whosoever makes a picture, will be punished on the Day of Resurrection, and will be asked to infuse soul therein, which he will not be able to do."[Al-Bukhari and Muslim].

وعنه قال‏:‏ سمعت رسول الله صلى الله عليه وسلم يقول‏:‏ ‏ "‏من صور في الدنيا، كُلف أن يَنفخ فيها الروح يوم القيامة وليس بنافخ‏" ‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏

sunnah.com