Sahih Muslim, Book 37, Hadith 129 (Muslim 5466)

Abu Talha reported Allah's Apostle (ﷺ) having said:

Angels do not enter a house in which there is a dog or a picture.