It is narrated from Sayyiduna Hudhayfah (may Allah be pleased with him) that he said: "On the Day of Resurrection all people will be gathered on one level plain, and no one will be able to speak. The first to be called will be Sayyiduna Muhammad (peace and blessings be upon him), and he (peace and blessings be upon him) will say in the presence of the Lord: 'Labbayka wa sa'dayka, wal-khayru fi yadayka, wash-sharru laysa ilayka, wal-mahdiyyu man hadayta, wa 'abduka bayna yadayka, ana bika wa ilayka, la malja'a wa la manja illa ilayka, tabarakta wa ta'alayta, subhanaka rabbal-bayt' (Here I am, ever ready to obey You; all good is in Your hands, and evil is not to be ascribed to You; the rightly guided one is he whom You guide; I, Your humble servant, am present before You; my existence is from You and my return is to You; there is no refuge and no place of safety except with You; You are most Blessed and Exalted; O Lord of the House, Glory be to You)." So this is that saying of Allah Almighty: "It may be that your Lord will raise you to a praised station (maqam mahmud)" (a station where all will praise you). (In other chains of the report there is also this detail:) "People will be gathered on one plain where the voice of the caller will be heard by all and the sight will encompass them all; all people will be barefoot and naked, just as they were created the first time; then the first to speak will be Sayyiduna Muhammad (peace and blessings be upon him)."
Imam Abu Ya'la recorded it, and Imam al-Nasa'i recorded it in "al-Tafsir" through Shu'bah, and it will come in Kitab al-Qiyamah. In Imam al-Hakim's narration there is also this addition: "Slandering a chaste woman destroys the good deeds of a hundred years." Imam al-Hakim's scholarly verdict on this hadith is that, apart from Layth bin Abi Sulaym, all of its narrators are reliable and used as evidence.