Sahih al-Bukhari, Book 59, Hadith 128 (Bukhari 3184)

Narrated Abu Talha:

The Prophet (ﷺ) said, "Angels do not enter a house that has either a dog or a picture in it."