Anas bin Malik reported,

The Prophet ﷺ said, "The believers will be detained on the Day of Resurrection until they grow distressed by it. They will say, 'If only we sought intercession with our Lord so He might relieve us from where we stand.'So they will come to Adam and say, 'You are Adam, the father of mankind. Allah created you with His hand, settled you in His garden, made His angels prostrate to you, and taught you the names of all things. Intercede for us with your Lord that He may relieve us from this place of ours.'Adam will reply, 'I am not the one for that.' He will mention the sin he committed, eating from the tree after he had been forbidden from it. 'But go to Nuh, the first prophet Allah sent to the people of the earth.'So they will come to Nuh, and he will say, 'I am not the one for that.' He will mention the sin he committed, asking his Lord about something of which he had no knowledge. 'But go to Ibrahim, the friend of the Most Merciful.'So they will come to Ibrahim, and he will say, 'I am not the one for that.' He will mention the three statements in which he had spoken untruthfully. 'But go to Musa, a servant to whom Allah gave the Torah, spoke to directly, and brought near in private converse.'So they will come to Musa, and he will say, 'I am not the one for that.' He will mention the sin he committed, killing a person. 'But go to Isa, the servant of Allah, His messenger, His spirit, and His word.'So they will come to Isa, and he will say, 'I am not the one for that. But go to Muhammad ﷺ, a servant whose past and future sins Allah has forgiven.'So they will come to me, and I will seek permission to enter upon my Lord in His abode. Permission will be granted to me. When I see Him, I will fall down in prostration. He will leave me as long as Allah wills to leave me, then He will say, 'Raise your head, Muhammad. Speak, and you will be heard. Intercede, and your intercession will be accepted. Ask, and you will be given.'So I will raise my head and praise my Lord with words of glorification and praise that He will teach me. Then I will intercede, and a limit will be set for me. I will go out and admit them into Paradise."Qatada said, "I also heard him say, 'I will go out and bring them out of the Fire and admit them into Paradise.'""Then I will return a second time and seek permission to enter upon my Lord in His abode. Permission will be granted to me. When I see Him, I will fall down in prostration. He will leave me as long as Allah wills to leave me, then He will say, 'Raise your head, Muhammad. Speak, and you will be heard. Intercede, and your intercession will be accepted. Ask, and you will be given.'So I will raise my head and praise my Lord with words of glorification and praise that He will teach me. Then I will intercede, and a limit will be set for me. I will go out and admit them into Paradise."Qatada said, "I heard him say, 'I will go out and bring them out of the Fire and admit them into Paradise.'""Then I will return a third time and seek permission to enter upon my Lord in His abode. Permission will be granted to me. When I see Him, I will fall down in prostration. He will leave me as long as Allah wills to leave me, then He will say, 'Raise your head, Muhammad. Speak, and you will be heard. Intercede, and your intercession will be accepted. Ask, and you will be given.'So I will raise my head and praise my Lord with words of glorification and praise that He will teach me. Then I will intercede, and a limit will be set for me. I will go out and admit them into Paradise."Qatada said, "I heard him say, 'I will go out and bring them out of the Fire and admit them into Paradise, until none remain in the Fire except those whom the Quran has detained,'" meaning those for whom eternal punishment is decreed.Then he recited this verse, "It may be that your Lord will raise you to a praiseworthy station" [Isra 17:79].He said, "This is the praiseworthy station that your Prophet ﷺ has been promised."

Bukhari 7440

Sahih

وقال حجاج بن منهال حدثنا همام بن يحيى حدثنا قتادة

عن أنس رضي الله عنه

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

البخاري 7440صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tawhid
Chapter
His saying, "Faces that day will be radiant, looking at their Lord"
Numbering
Darussalam 7440
Bukhari 7440