Sahih Muslim 3931: Clothing and Adornment
It is narrated from Sa'id bin Abul Hasan that a man came to Hazrat Ibn Abbas (ra) and said: I am a man who makes these images. So give me a ruling (Fatwa) about this. Hazrat Ibn Abbas (ra) said: Come to me. So he came near him. Then Hazrat Ibn Abbas (ra) said: Come closer to me. He came still closer, until Hazrat Ibn Abbas (ra) placed his hand on his head and said: I will tell you something which I heard from the Messenger of Allah (saw). I heard the Messenger of Allah (saw) say: “Every maker of images will go into the Fire. For every picture of his, He will put a soul into it for him, and it will torment him in Hell.” And (Ibn Abbas (ra)) said: If you must (do this work), then make trees and that which has no soul.
AI-translated by Islam-Today