Sahih Muslim 276: The Leader of Both Worlds, the Prophet Muhammad (saw)
Hazrat Anas bin Malik (ra) says that the Messenger of Allah (saw) said: “Allah, the Exalted, will gather the people on the Day of Resurrection, and the people will be anxious because of this.” Ibn Ubaid says: “For this reason it will be put into their hearts, and they will say: ‘Why do we not go to our Lord with someone's intercession, so that He may deliver us from this place?’” He said: “So they will go to Adam (as) and say: ‘You are Adam, the father of mankind. Allah created you with His own hand, breathed His spirit into you and commanded the angels, and they prostrated for your sake. Intercede for us with your Lord that He may deliver us from this place.’ Adam will say: ‘I am not in that position,’ and will mention the error he had committed and because of which he will feel ashamed before his Lord, (and will say:) ‘Go to Noah (as), who was the first Messenger whom God raised.’ Then the people will go to Noah (as). He will say: ‘I am not in that position,’ and will mention the error he had committed, and because of it he will feel ashamed before his Lord, (and will say:) ‘Go to Abraham (as), whom God made His close friend.’ At this the people will go to Abraham (as), and he will say: ‘I am not in that position,’ and will mention that error of his which he had committed, and because of it he will feel ashamed before his Lord, (and will say:) ‘Go to Moses (as), with whom God spoke at length and to whom He gave the Torah.’” He said: “So the people will go to Moses (as), but he will say: ‘I am not in that position.’ He will mention the error he had committed, and because of it he will feel ashamed (to go) to his Lord, (and will say:) ‘Go to Jesus (as), who is the spirit of Allah and His word.’ So they will go to Jesus (as), who is the spirit of Allah and His word, and he will say: ‘I am not in that position, but go to Muhammad (saw). He is a servant whom God has kept free of all sins, former and latter.’” The narrator says: The Messenger of Allah (saw) said: “Then they will come to me. I will ask permission to come to my Lord, and I will be given permission. When I see Him, I will fall down in prostration. Allah will leave me (in that state) as long as He wills. Then it will be said: ‘O Muhammad (saw)! Raise your head and speak, you will be heard; ask, you will be given; intercede, your intercession will be accepted.’ Then I will raise my head and praise my Lord with the praise which my Lord will teach me. Then I will intercede, and He will set a limit for me. I will bring them out of Hell. Then I will return again and fall down in prostration, and Allah will leave me in prostration as long as He wills. Then it will be said: ‘O Muhammad (saw)! Raise your head; speak, you will be heard; ask, you will be given; intercede, your intercession will be accepted.’ Then I will raise my head and praise my Lord with the praise which He will teach me. Then I will intercede, and He will set a limit for me. I will bring them out of Hell and admit them to Paradise.” The narrator says: I do not remember whether it was the third or the fourth time that he (saw) said: “I will say: ‘O my Lord, now only those remain in Hell whom the Qur’an has held back,’ that is, those for whom a long stay is binding.”
AI-translated by Islam-Today
Book 101: The Leader of Both Worlds, the Prophet Muhammad (saw)