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.”