Narrated Ayesha: I bought a cushion with pictures on it. When Allah’s Messenger, peace be upon him, saw it, he kept standing at the door and did not enter the house. I noticed the sign of disgust on his face, so I said, “O Allah’s Messenger! What sin have it done?”

Allah’s Messenger, peace be upon him, said, “What about this cushion?” I replied, “I bought it for you to sit on and recline on.” Allah’s Messenger, peace be upon him, said, “The painters of these pictures will be punished on the Day of Resurrection. It will be said to them, ‘Put life in what you have created’ (i.e. painted).” The Prophet, peace be upon him, added, “The angels do not enter a house in which there are pictures [paintings].”
[3: 318- O.B. Sahih Al-Bukhari]

Narrated Ibn Abbas: The Prophet, peace be upon him, said, “… Whoever makes a picture, will be punished on the Day of Resurrection and will be ordered to put a soul in that picture, which he will not be able to do.”
[9: 165- O.B. Sahih Al-Bukhari]