Allah the Exalted says in Surah Al-Azhab:
مَّا كَانَ مُحَمَّدٌ أَبَا أَحَدٍ مِّن رِّجَالِكُمْ وَلَـٰكِن
رَّسُولَ اللَّـهِ وَخَاتَمَ النَّبِيِّينَ وَكَانَ اللَّـهُ بِكُلِّ
شَيْءٍ عَلِيمًا
Interpretation of the meaning:
Muhammad is not the father of [any] one of your men, but [he is] the
Messenger of Allah and last of the prophets. And ever is Allah , of
all things, Knowing. [Al-Azhab: 40]
This ayah looks to you apparently that it says Muhammad (صلى الله عليه وسلم) is only the last Prophet and not the last messenger. However, we should understand some things about the Prophets and the Messengers as stated by early scholars. Moreover, I will show it to you from the hadith, Insha Allah.
Tafsir of Ibn Katheer (rahimahullah) says that this verse which says "but he is the Messenger of Allah and the last of the Prophets. And Allah is Ever All-Aware of everything" is like the ayah where Allah says in Surah Al-An'am:
اللَّـهُ أَعْلَمُ حَيْثُ يَجْعَلُ رِسَالَتَهُ
Interpretation of the meaning:
Allah knows best with whom to place His Message [Al-An'am
:124]
Ibn Katheer (rahimahullah) said in his tafseer:
This Ayah clearly states that there will be no Prophet after him. If
there will be no Prophet after him then there will surely be no
Messenger after him either, because the status of a Messenger is
higher than that of a Prophet, for every Messenger is a Prophet but
the reverse is not the case.
Before anyone argues that this is just an opinion of a scholar, let me present to you the hadith which affirms it and seals the door to Prophethood and messengership with Muhammad (صلى الله عليه وسلم) as the last Prophet and the Messenger.
Anas bin Malik narrated:
"The Messenger of Allah (s.a.w) said: 'Indeed Messenger-ship and
Prophethood have been terminated, so there shall be no Messenger after
me, nor a Prophet.'" He(Anas) said:"The people were concerned about
that, so he (s.a.w) said: 'But there will be Mubash-shirat.' So they
said: 'O Messenger of Allah! What is Mubash-shirat?' He said: 'The
Muslim's dreams, for it is a portion of the portions of Prophethood.'"
(Sahih)
حَدَّثَنَا الْحَسَنُ بْنُ مُحَمَّدٍ الزَّعْفَرَانِيُّ، حَدَّثَنَا
عَفَّانُ بْنُ مُسْلِمٍ، حَدَّثَنَا عَبْدُ الْوَاحِدِ يَعْنِي ابْنَ
زِيَادٍ، حَدَّثَنَا الْمُخْتَارُ بْنُ فُلْفُلٍ، حَدَّثَنَا أَنَسُ بْنُ
مَالِكٍ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " إِنَّ
الرِّسَالَةَ وَالنُّبُوَّةَ قَدِ انْقَطَعَتْ فَلاَ رَسُولَ بَعْدِي
وَلاَ نَبِيَّ " . قَالَ فَشَقَّ ذَلِكَ عَلَى النَّاسِ فَقَالَ "
لَكِنِ الْمُبَشِّرَاتُ " . قَالُوا يَا رَسُولَ اللَّهِ وَمَا
الْمُبَشِّرَاتُ قَالَ " رُؤْيَا الْمُسْلِمِ وَهِيَ جُزْءٌ مِنْ
أَجْزَاءِ النُّبُوَّةِ " . وَفِي الْبَابِ عَنْ أَبِي هُرَيْرَةَ
وَحُذَيْفَةَ بْنِ أَسِيدٍ وَابْنِ عَبَّاسٍ وَأُمِّ كُرْزٍ . قَالَ
هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ غَرِيبٌ مِنْ هَذَا الْوَجْهِ مِنْ حَدِيثِ
الْمُخْتَارِ بْنِ فُلْفُلٍ .
[Jami` at-Tirmidhi Vol. 4, Book 8, Hadith 2272]