Abu Dawud Book 27, Hadith Number 4145.
Chapter : Pictures.
Narated By N/A : Ibn ‘Abbas said: Maimunah, wife of the Prophet.(may peace be upon him), reported him as saying: Gabriel (peace be upon him) promised to visit me last night, but he did not visit me. Then it occurred to him that there was a pup under his bed. So he ordered and it was turned out. He then got water in his hand and sprinkled it on its place. When Gabriel (peace be upon him) met him, he said: We do not enter a house which contains a dog or a picture. When the morning came, the Prophet (peace be upon him) ordered to kill dogs. He ordered to kill the dog which guarded a small orchard, and left the dog which guarded the big orchard.