Sunan Abi Dawud, Hadith 4145

Narrated Ibn 'Abbas: Maimunah, wife of the Prophet 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 met him, he said: We do not enter a house which contains a dog or a picture. When the morning came, the Prophet ordered to kill dogs. He ordered to kill the dog which guarded a small orchard, and left the dog which guarded the big orchard.

حَدَّثَنَا أَحْمَدُ بْنُ صَالِحٍ، حَدَّثَنَا ابْنُ وَهْبٍ، أَخْبَرَنِي يُونُسُ، عَنِ ابْنِ شِهَابٍ، عَنِ ابْنِ السَّبَّاقِ، عَنِ ابْنِ عَبَّاسٍ، قَالَ حَدَّثَتْنِي مَيْمُونَةُ، زَوْجُ النَّبِيِّ صلى الله عليه وسلم أَنَّ النَّبِيَّ صلى الله عليه وسلم قَالَ ‏ "‏ إِنَّ جِبْرِيلَ عَلَيْهِ السَّلاَمُ كَانَ وَعَدَنِي أَنْ يَلْقَانِيَ اللَّيْلَةَ فَلَمْ يَلْقَنِي ‏" ‏ ‏.‏ ثُمَّ وَقَعَ فِي نَفْسِهِ جَرْوُ كَلْبٍ تَحْتَ بِسَاطٍ لَنَا فَأَمَرَ بِهِ فَأُخْرِجَ ثُمَّ أَخَذَ بِيَدِهِ مَاءً فَنَضَحَ بِهِ مَكَانَهُ فَلَمَّا لَقِيَهُ جِبْرِيلُ عَلَيْهِ السَّلاَمُ قَالَ إِنَّا لاَ نَدْخُلُ بَيْتًا فِيهِ كَلْبٌ وَلاَ صُورَةٌ فَأَصْبَحَ النَّبِيُّ صلى الله عليه وسلم فَأَمَرَ بِقَتْلِ الْكِلاَبِ حَتَّى إِنَّهُ لَيَأْمُرُ بِقَتْلِ كَلْبِ الْحَائِطِ الصَّغِيرِ وَيَتْرُكُ كَلْبَ الْحَائِطِ الْكَبِيرِ ‏.‏

sunnah.com

also referenced under: Hadith 4157 (DarusSalam)