Jami` at-Tirmidhi, Book 47, Hadith 3441 (In-Book)

Narrated Abu Sa'eed Al-Khudri: that the Messenger of Allah said: "I am the chief of the children of Adam on the Day of Judgement and I am not boasting, and in my hand is the banner of praise and I am not boasting, and there has been no Prophet since Adam or other than him, except that he is under my banner. And I am the first for whom the earth will split open, and I am not boasting." He said: "The people will be frightened by three frights. So they will come to Adam saying: 'You are our father Adam, so intercede for us with your Lord.' So he says: 'I committed a sin for which I was expelled to the earth, so go to Nuh.' So they will come to Nuh and he will say: 'I supplicated against the people of the earth, so they were destroyed. So go to Ibrahim.' So they will go to Ibrahim, and he says: 'I lied three times.'" Then the Messenger of Allah said: "He did not lie except defending Allah's religion." "So go to Musa.' So they will come to Musa, and he will say: 'I took a life. So go to 'Eisa. So they go to 'Eisa and he says: 'I was worshiped besides Allah. So go to Muhammad.'" He said: "So they will come to me, and I will go to them." (One of the narrators) Ibn Ju'dan said: "Anas said: 'It is as if I am looking at the Messenger of Allah, and he is saying: "So I will take hold of a ring of a gate of Paradise to rattle it, and it will be said: 'Who is there?' It will be said: 'Muhammad.' They will open it for me, and welcome me saying, 'Welcome.' I will fall prostrate and Allah will inspire me with statements of gratitude and praise and it will be said to me: 'Raise your head, ask and you shall be given, intercede, and your intercession shall be accepted, speak, and your saying shall be heard.' And that is Al-Maqam Al-Mahmud about which Allah said: It may be that your Lord will raise you to Maqaman-Mahmud (17:79)." Sufyan said: "None of it is from Anas except this sentence: 'I will take hold of a ring of a gate of Paradise to rattle it.'"

حَدَّثَنَا ابْنُ أَبِي عُمَرَ، حَدَّثَنَا سُفْيَانُ، عَنْ عَلِيِّ بْنِ زَيْدِ بْنِ جُدْعَانَ، عَنْ أَبِي نَضْرَةَ، عَنْ أَبِي سَعِيدٍ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ أَنَا سَيِّدُ وَلَدِ آدَمَ يَوْمَ الْقِيَامَةِ وَلاَ فَخْرَ وَبِيَدِي لِوَاءُ الْحَمْدِ وَلاَ فَخْرَ وَمَا مِنْ نَبِيٍّ يَوْمَئِذٍ آدَمُ فَمَنْ سِوَاهُ إِلاَّ تَحْتَ لِوَائِي وَأَنَا أَوَّلُ مَنْ تَنْشَقُّ عَنْهُ الأَرْضُ وَلاَ فَخْرَ قَالَ فَيَفْزَعُ النَّاسُ ثَلاَثَ فَزَعَاتٍ فَيَأْتُونَ آدَمَ فَيَقُولُونَ أَنْتَ أَبُونَا آدَمُ فَاشْفَعْ لَنَا إِلَى رَبِّكَ ‏.‏ فَيَقُولُ إِنِّي أَذْنَبْتُ ذَنْبًا أُهْبِطْتُ مِنْهُ إِلَى الأَرْضِ وَلَكِنِ ائْتُوا نُوحًا ‏.‏ فَيَأْتُونَ نُوحًا فَيَقُولُ إِنِّي دَعَوْتُ عَلَى أَهْلِ الأَرْضِ دَعْوَةً فَأُهْلِكُوا وَلَكِنِ اذْهَبُوا إِلَى إِبْرَاهِيمَ ‏.‏ فَيَأْتُونَ إِبْرَاهِيمَ فَيَقُولُ إِنِّي كَذَبْتُ ثَلاَثَ كَذَبَاتٍ ‏"‏ ‏.‏ ثُمَّ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ مَا مِنْهَا كَذْبَةٌ إِلاَّ مَاحَلَ بِهَا عَنْ دِينِ اللَّهِ وَلَكِنِ ائْتُوا مُوسَى ‏.‏ فَيَأْتُونَ مُوسَى فَيَقُولُ إِنِّي قَدْ قَتَلْتُ نَفْسًا وَلَكِنِ ائْتُوا عِيسَى ‏.‏ فَيَأْتُونَ عِيسَى فَيَقُولُ إِنِّي عُبِدْتُ مِنْ دُونِ اللَّهِ وَلَكِنِ ائْتُوا مُحَمَّدًا قَالَ فَيَأْتُونَنِي فَأَنْطَلِقُ مَعَهُمْ ‏"‏ ‏.‏ قَالَ ابْنُ جُدْعَانَ قَالَ أَنَسٌ فَكَأَنِّي أَنْظُرُ إِلَى رَسُولِ اللَّهِ صلى الله عليه وسلم قَالَ ‏"‏ فَآخُذُ بِحَلْقَةِ بَابِ الْجَنَّةِ فَأُقَعْقِعُهَا فَيُقَالُ مَنْ هَذَا فَيُقَالُ مُحَمَّدٌ ‏.‏ فَيَفْتَحُونَ لِي وَيُرَحِّبُونَ فَيَقُولُونَ مَرْحَبًا فَأَخِرُّ سَاجِدًا فَيُلْهِمُنِي اللَّهُ مِنَ الثَّنَاءِ وَالْحَمْدِ فَيُقَالُ لِي ارْفَعْ رَأْسَكَ سَلْ تُعْطَ وَاشْفَعْ تُشَفَّعْ وَقُلْ يُسْمَعْ لِقَوْلِكَ وَهُوَ الْمَقَامُ الْمَحْمُودُ الَّذِي قَالَ اللَّهُ ‏:‏ ‏(‏ عَسَى أَنْ يَبْعَثَكَ رَبُّكَ مَقَامًا مَحْمُودًا ‏)‏ ‏"‏ ‏.‏ قَالَ سُفْيَانُ لَيْسَ عَنْ أَنَسٍ إِلاَّ هَذِهِ الْكَلِمَةُ ‏"‏ فَآخُذُ بِحَلْقَةِ بَابِ الْجَنَّةِ فَأُقَعْقِعُهَا ‏"‏ ‏.‏ قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ ‏.‏ وَقَدْ رَوَى بَعْضُهُمْ هَذَا الْحَدِيثَ عَنْ أَبِي نَضْرَةَ عَنِ ابْنِ عَبَّاسٍ الْحَدِيثَ بِطُولِهِ ‏.‏

sunnah.com