Anas bin Malik reported,

The Messenger of Allah ﷺ said, "Allah will gather the people on the Day of Resurrection, and they will say, 'If only we sought intercession with our Lord so that He might relieve us of our place.'So they will come to Adam and say, 'You are the one whom Allah created with His own hand, breathed into from His spirit, and commanded the angels to prostrate to. Intercede for us with our Lord.'He will say, 'I am not the one for that,' and he will mention his sin. He will say, 'Go to Nuh, the first messenger Allah sent.'So they will come to him, and he will say, 'I am not the one for that,' and he will mention his sin. 'Go to Ibrahim, whom Allah took as an intimate friend.'So they will come to him, and he will say, 'I am not the one for that,' and he will mention his sin. 'Go to Musa, to whom Allah spoke directly.'So they will come to him, and he will say, 'I am not the one for that,' and he will mention his sin. 'Go to Isa.'So they will come to him, and he will say, 'I am not the one for that. Go to Muhammad ﷺ, for Allah has forgiven him his earlier and later sins.'So they will come to me, and I will seek permission from my Lord. When I see Him, I will fall down in prostration, and He will leave me as long as Allah wills. Then it will be said to me, 'Raise your head. Ask, and you will be given. Speak, and you will be heard. Intercede, and your intercession will be accepted.'So I will raise my head and praise my Lord with words of praise He will teach me. Then I will intercede, and He will set me a limit. I will bring them out of the Fire and admit them into Paradise. Then I will return and fall down in prostration as before, a third time, or a fourth, until none remain in the Fire except those whom the Quran has confined."At this point, Qatada used to say, "Meaning, those for whom eternal punishment has been decreed."

Bukhari 6565

Sahih

حدثنا مسدد حدثنا أبو عوانة عن قتادة

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

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

البخاري 6565صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Softening of hearts
Chapter
Description of Paradise and Hell
Numbering
Darussalam 6565
Bukhari 6565