Hadith on Parables: Angels come to the Prophet while he sleeps

Jabir ibn Abdullah reported: The angels came to the Prophet, peace and blessings be upon him, while he was sleeping and some of them said, “He is asleep.” And some of them said, “His eyes are asleep but his heart is awake.” They said, “Verily, your companion has a parable, so present the parable for him.” Some of them said, “He is asleep.” And some of them said, “His eyes are asleep but his heart is awake.” They said, “His parable is the example of a man who built a house, set up a banquet therein, and then sent a messenger to invite people. Whoever answered the invitation would enter the house and eat of the banquet, and whoever did not accept the invitation would not enter the house nor eat of the banquet.” The angels said, “Interpret this parable for him that he might understand.” Some of them said, “He is asleep.” And some of them said, “His eyes are asleep but his heart is awake.” They said, “The house represents Paradise and the messenger is Muhammad, peace and blessings be upon him. Whoever obeys Muhammad has obeyed Allah, and whoever disobeys Muhammad has disobeyed Allah. Muhammad has caused distinction between the people.”

Source: Ṣaḥīḥ al-Bukhārī 6765

Grade: Sahih (authentic) according to Al-Bukhari

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

6765 صحيح البخاري كتاب الاعتصام بالكتاب والسنة باب الاقتداء بسنن رسول الله