Messenger of Allah ﷺ said, "I have five names: I am (1) Muḥammad and (2) Aḥmad; and I am (3) al-Māḥī through whom Allah will eliminate infidelity; and I am (4) al-Ḥāshir who will be the first to be resurrected, the ˹rest˺ of the people being resurrected after that; and I am (5) al-ʿĀqib (the last one after whom there will be no other prophet).
قَالَ رَسُولُ اللَّهِ ﷺ: «لِي خَمْسَةُ أَسْمَاءٍ: (١) أَنَا مُحَمَّدٌ، (٢) وَأَحْمَدُ، (٣) وَأَنَا الْمَاحِي الَّذِي يَمْحُو اللَّهُ بِي الْكُفْرَ، (٤) وَأَنَا الْحَاشِرُ الَّذِي يُحْشَرُ النَّاسُ عَلَى قَدَمِي، (٥) وَأَنَا الْعَاقِبُ۔»