Maymuna bint Harith reported,

One morning the Messenger of Allah ﷺ woke up looking distressed.Maymunah said, "Messenger of Allah, I have noticed a change in your appearance today."The Messenger of Allah ﷺ replied, "Jibreel had promised to meet me last night, but he did not come. By Allah, he has never broken a promise to me before."The Messenger of Allah ﷺ remained in that state throughout the day. Then it occurred to him that there was a puppy under one of our tents. He ordered it to be removed, and then he took some water in his hand and sprinkled the spot where it had been.When evening came, Jibreel met him, and the Prophet ﷺ said to him, "You had promised to meet me last night."Jibreel replied, "Indeed, but we do not enter a house in which there is a dog or an image."So the next morning, the Messenger of Allah ﷺ ordered that dogs be killed, to the point that he ordered the killing of the dog that guarded a small garden, while sparing the dog that guarded a large garden.

Azami 520

Sahih

عن ميمونة

أن رسول الله ﷺ أصبح يوما واجما، فقالت ميمونة: يا رسول الله، لقد استنكرت هيئتك منذ اليوم. قال رسول الله ﷺ: إن جبريل كان وعدني أن يلقاني الليلة، فلم يلقني، أم والله ما أخلفني. قال: فظل رسول الله ﷺ يومه ذلك على ذلك، ثم وقع في نفسه جرو كلب تحت فسطاط لنا. فأمر به فأخرج، ثم أخذ بيده ماء أن فنضح مكانه، فلما أمسى لقيه جبريل فقال له: قد كنت وعدتني تلقاني البارحة. قال: أجل ولكنا لا ندخل بيتا فيه كلب ولا صورة، فأصبح رسول الله ﷺ يومئذ فأمر بقتل الكلاب، حتى إنه ليأمر بقتل كلب الحائط الصغير، ويترك كلب الحائط الكبير.

الأعظمي 520صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Belief in the angels
Section
Angels do not enter a house in which there is a dog, an image, or a bell
Numbering
Jami al-Kamil 520 (2nd edition)
Azami 520