Sunan Ibn Majah, Book 32, Hadith 100 (Ibn Majah 3651)

It was narrated from Abu Talhah that the Prophet (ﷺ) said:

“The angels do not enter a house in which there is a dog or an image.”