Jabir bin Abdullah reported,

Angels came to the Prophet ﷺ while he was sleeping. Some of them said, "He is asleep."Others said, "The eye is asleep, but the heart is awake."So they said, "There is a parable for this companion of yours. Strike a parable for him."Some of them said, "He is asleep."Others said, "The eye is asleep, but the heart is awake."So they said, "His likeness is that of a man who built a house, prepared a banquet in it, and sent a messenger to invite people. Whoever accepted the invitation entered the house and ate from the banquet, and whoever did not accept the invitation 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."Others said, "The eye is asleep, but the heart is awake."So they said, "The house is Paradise, and the one inviting is Muhammad ﷺ. Whoever obeys Muhammad ﷺ has obeyed Allah, and whoever disobeys Muhammad ﷺ has disobeyed Allah. Muhammad ﷺ is the one who distinguishes between people."

Azami 15646

Sahih

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

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

الأعظمي 15646صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Holding fast to the Quran and the Sunnah
Chapter
Images and image-makers
Section
Obligation of adhering to the Book and the Sunnah
Numbering
Jami al-Kamil 15646 (2nd edition)
Azami 15646