Sunan an-Nasa'i, Book 48, Hadith 309 (Nasa'i 5357)

It was narrated that Abu Talhah said:

"I heard the Messenger of Allah say: 'The angels do not enter a house in which there is a dog or an image of an animate being.'"