Sahih Muslim, Book 37, Hadith 130 (Muslim 5467)

Abu Talha reported:

I heard Allah's Messenger (ﷺ) as saying: Angels do not enter the house in which there is a dog or a statue.