Sahih Muslim 2354 a
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
أَنَا مُحَمَّدٌ وَأَنَا أَحْمَدُ وَأَنَا الْمَاحِي الَّذِي يُمْحَى بِيَ الْكُفْرُ وَأَنَا الْحَاشِرُ الَّذِي يُحْشَرُ النَّاسُ عَلَى عَقِبِي وَأَنَا الْعَاقِبُ "
Jubair b. Mut'im reported on the authority of his father that he heard Allah's Messenger (ﷺ) as saying:
I am Muhammad and I am Ahmad, and I am al-Mahi (the obliterator) by whom unbelief would be obliterated, and I am Hashir (the gatherer) at whose feet mankind will be gathered, and I am 'Aqib (the last to come) after whom there will be no Prophet.
Full reference and source
Sahih Muslim 2354 a In-book : Book 43, Hadith 163 USC-MSA web (English) : Book 30, Hadith 5810 (deprecated)
View source on Sunnah.com (opens in a new tab)