Saeed bin Abu Hasan reported,

I was with Ibn Abbas when a man came to him and said, "Abu Abbas, I am a man whose livelihood comes only from the work of my hands, and I make these images."Ibn Abbas replied, "I will only tell you what I heard the Messenger of Allah ﷺ say. I heard him say, 'Whoever fashions an image, Allah will torment him until he breathes a soul into it, and he will never be able to breathe a soul into it.'"The man heaved a heavy sigh and his face turned pale.Ibn Abbas said, "Woe to you. If you refuse to do anything else, then stick to these trees and anything that has no soul in it."

Azami 15624

Sahih

عن سعيد بن أبي الحسن قال

كنت عند ابن عباس إذ أتاه رجل فقال: يا أبا عباس، إني إنسان إنما معيشتي من صنعة يدي، وإني أصنع هذه التصاوير، فقال ابن عباس: لا أحدثك إلا ما سمعت رسول الله ﷺ يقول: سمعته يقول: من صور صورة، فإن الله معذبه حتى ينفخ فيها الروح، وليس بنافخ فيها أبدا. قربا الرجل ربوة شديدة، واصفر وجهه فقال: ويحك إن أبيت إلا أن تصنع، فعليك بهذا الشجر، كل شيء ليس فيه روح.

الأعظمي 15624صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Clothing and adornment
Chapter
Images and image-makers
Section
Images that have no soul are permissible
Numbering
Jami al-Kamil 15624 (2nd edition)
Azami 15624