Usamah (may Allah be pleased with him) said: Sadness came over the Prophet (peace and blessings be upon him), so I said: O Messenger of Allah, what is the matter? He (peace and blessings be upon him) said: "Jibril (peace be upon him) promised me that he would come to me, but he has not come for three days." Then it was seen that a dog was there. Usamah said: I put my hand on my head and cried out. He (peace and blessings be upon him) said: "O Usamah, what is the matter?" I said: A dog. So the Prophet (peace and blessings be upon him) gave an order concerning it, and it was killed. Then Jibril came, and he (peace and blessings be upon him) said: "Why did you not come, when whenever you made me a promise you never broke it?" Jibril said: We do not enter a house in which there is a dog or pictures.
Hadith Referenceالمعجم الكبير للطبراني / باب الألف / 384