Sunan Ibn Majah, Book 32, Hadith 101 (Ibn Majah 3652)

It was narrated from ‘Ali bin Abu Talib that the Prophet (ﷺ) said:

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