Sahih Muslim , Hadith 2104

A'isha reported that Gabriel (peace be upon him) made a promise with Allah's Messenger to come at a definite hour; that hour came but he did not visit him. And there was in his hand (in the hand of Allah's Apostle) a staff. He threw it from his hand and said: Never has Allah or His messengers (angels) ever broken their promise. Then he cast a glance (and by chance) found a puppy under his cot and said: 'A'isha, when did this dog enter here? She said: By Allah, I don't know He then commanded and it was turned out. Then Gabriel came and Allah's Messenger said to him: You promised me and I waited for you, but you did not come, whereupon he said: It was the dog in your house which prevented me (to come), for we (angels) do not enter a house in which there is a dog or a picture.

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

sunnah.com

This hadith has been narrated on the authority of Abu Hazim with the same chain of transmitters that Gabriel had promised Allah's Messenger that he would come; the rest of the hadith is the same, but it is not so lengthy as the other one.

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

sunnah.com