Abu Hurairah reported,

The Prophet ﷺ said, "Whoever makes an image will be punished on the Day of Resurrection until he breathes a soul into it, and he will never be able to breathe one into it. Whoever eavesdrops on a people's conversation when they would not wish him to hear it will have molten lead poured into his ears. And whoever falsely claims to have seen a dream will be handed a barley grain and tormented until he ties a knot between its two ends, and he will never be able to tie it."

Azami 15609

Sahih

عن أبي هريرة

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

الأعظمي 15609صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Clothing and adornment
Chapter
Images and image-makers
Section
Warning for those who make images
Numbering
Jami al-Kamil 15609 (2nd edition)
Azami 15609