The Messenger of Allah ﷺ said, "On the Day of Resurrection, I will come to the gate of Paradise and ask for it to be opened.The gatekeeper will ask, 'Who are you?'I will reply, 'Muhammad.'He will say, 'I was commanded concerning you not to open it for anyone before you.'"
قال رسول الله ﷺ: آتي باب الجنة يوم القيامة، فأستفتح، فيقول الخازن: من أنت؟ فأقول: محمد. فيقول: بك أمرت لا أفتح لأحد قبلك.
Muslim reported it in the Book of Faith (197) through several routes from Hashim bin Qasim, who said, Sulayman bin Mughira narrated to us from Thabit from Anas bin Malik, and he mentioned the hadith.In another version, "I will have the most followers among the prophets on the Day of Resurrection, and I will be the first to knock on the gate of Paradise." Muslim reported this from another route from Anas bin Malik.