The Messenger of Allah ﷺ said, "I have five names. I am Muhammad, I am Ahmad, I am al-Mahi, the one through whom Allah erases disbelief, I am al-Hashir, the one at whose feet people will be gathered, and I am al-Aqib."
قال رسول الله ﷺ: لي خمسة أسماء: أنا محمد، وأنا أحمد، وأنا الماحي الذي يمحو الله بي الكفر، وأنا الحاشر الذي يحشر الناس على قدمي، وأنا العاقب.
Malik narrated it in the Names of the Prophet ﷺ (1) from Ibn Shihab, from Muhammad bin Jubayr bin Mutim, that the Prophet ﷺ said (then he mentioned the hadith). This is how it appears in Muwatta Yahya bin Yahya Laythi, with the chain broken off, not mentioning "his father."Ibn Abdul-Barr said in Tamhid (9/151), "This is how Yahya narrated it, with the chain broken off, and he did not say in it 'from his father.' Most of the narrators of the Muwatta followed him in this... Maen bin Isa and others narrated it from Malik with a complete chain, mentioning his father. Bukhari narrated it through his route in the Book of Virtues (3532)."As for Muslim, he narrated it in the Book of Virtues (2354) through routes other than Malik, from Zuhri, with a complete chain, and he added an explanation of Aqib by saying, 'And Aqib is the one after whom there is no prophet.' In another explanation, 'There is no one after him.' He also narrated it with another chain through the route of Aqeel, and said, 'In the hadith of Aqeel, he said, I asked Zuhri, "What is Aqib?" He said, "The one after whom there is no prophet."' Likewise, Mamar said to Zuhri, 'What is Aqib?' He said, 'The one after whom there is no prophet.' Abdul-Razzaq narrated this from him in his Musannaf (19657), and Muslim narrated it through his route, except that he did not mention Mamar's question to Zuhri."However, Tirmidhi narrated it (2840) from Saeed bin Abdul-Rahman Makhzumi, from Sufyan bin Uyayna, from Zuhri, with his chain, and it contains, 'And I am Aqib, after whom there is no prophet ﷺ.' Tirmidhi said, 'Hasan sahih.' Thus he made the explanation part of what is attributed directly to the Prophet. Saeed bin Abdul-Rahman Makhzumi is reliable. Nasai deemed him reliable, and Maslama said in the book Sila, 'He is reliable regarding Ibn Uyayna, so it is not possible to give preference to the version that stops at the companion over the version attributed to the Prophet, even though those who stopped it there are more numerous.'"Therefore Hafiz said in Fath (6/557), "It could be either attributed to the Prophet or stopped at the companion."