Sahih al-Bukhari, Book 77, Hadith 175 (Bukhari 5731)

Narrated Anas:

Aisha had a thick curtain (having pictures on it) and she screened the side of her i 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."