Sunan an-Nasa'i, Book 48, Hadith 308 (Nasa'i 5356)

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