I have five names. I am Muhammad. I am Ahmad. I am Al-Māhi (the effacer), by whom Allah effaces disbelief. I am Al-Hāshir (the gatherer), at whose feet people will be gathered. I am Al-‘Āqib (the last)
Authentic hadithعن جُبَيْر بن مُطْعِم رضي الله عنه قال: قال رسول الله صلى الله عليه وسلم : «لِي خمسة أسْماء: أنا محمد، وأحمد، وأنا الماحِي الذي يَمْحُو الله بي الكفر، وأنا الحاشِر الذي يُحشَر الناس على قَدَمِي، وأنا العاقِب».
Jubayr ibn Mut‘im (may Allah be pleased with him) reported that the Messenger of Allah (may Allah's peace and blessings be upon him) said: "I have five names. I am Muhammad. I am Ahmad. I am Al-Māhi (the effacer), by whom Allah effaces disbelief. I am Al-Hāshir (the gatherer), at whose feet people will be gathered. I am Al-‘Vqib (the last)."
Explanation
This Hadīth shows that the Prophet (may Allah's peace and blessings be upon him) has five names: Muhammad; Ahmad; Al-Māhi, whereby Allah effaces unbelief and the unbelievers; Al-Hāshir, who will be gathered before all people on the Day of Judgment and Al-‘Āqib, after whom there is no prophet, with him being the last and the seal of Allah's Prophets. This does not mean that the Prophet (may Allah's peace and blessings be upon him) has only five names. He has other names which have been proved by authentic traditions, such as Al-Muqaffi (the last Prophet to be sent), the Prophet of mercy), the Prophet of repentance, etc.
Source · Narrated by Bukhari & Muslim
From the Hadith Encyclopedia (hadeethenc.com).