Jabir bin Abdullah reported,

Angels came to the Prophet ﷺ while he was sleeping. Some of them said, "He is asleep," while others said, "The eye is asleep but the heart is awake."Then they said, "There is a parable for this companion of yours, so coin a parable for him."Some of them said, "He is asleep," while others said, "The eye is asleep but the heart is awake."Then they said, "His likeness is that of a man who built a house, prepared a banquet within it, and sent out a caller to invite people. Whoever responded to the caller entered the house and ate from the banquet, and whoever did not respond to the caller neither entered the house nor ate from the banquet."Then they said, "Interpret it for him so he may understand."Some of them said, "He is asleep," while others said, "The eye is asleep but the heart is awake."Then they said, "The house is Paradise, and the caller is Muhammad ﷺ. Whoever obeys Muhammad ﷺ has obeyed Allah, and whoever disobeys Muhammad ﷺ has disobeyed Allah. Muhammad ﷺ is the one who distinguishes between people."Qutayba corroborated this, narrating from Layth, from Khalid, from Saeed bin Abu Hilal, from Jabir, "The Prophet ﷺ came out to us."

Bukhari 7281

Sahih

حدثنا محمد بن عبادة أخبرنا يزيد حدثنا سليم بن حيان وأثنى عليه حدثنا سعيد بن ميناء حدثنا أو سمعت

جابر بن عبد الله يقول

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

البخاري 7281صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Adhering to the Book and the Sunnah
Chapter
Following the sunnah of the Messenger of Allah ﷺ
Numbering
Darussalam 7281
Bukhari 7281