Sahih al-Bukhari, Book 77, Hadith 165 (Bukhari 5721)

Narrated Abu Talha:

The Prophet (ﷺ) said, "Angels do not enter a house in which there is a dog or there are pictures."