Sahih Bukhari Volume 7, Book 72, Hadith Number 842.
Narrated By Anas : ‘Aisha had a thick curtain (having pictures on it) and she screened the side of her house with it. The Prophet said to her, “Remove it from my sight, for its pictures are still coming to my mind in my prayers.”