Allah Ta‘ala also mentions the same two names in the Holy Qur’aan in the following verses:
مُحَمَّدٌ رَّسُوۡلُ اللّٰہِ ؕ
Muhammed is the prophet of Allah Ta‘ala
وَ اِذۡ قَالَ عِیۡسَی ابۡنُ مَرۡیَمَ یٰبَنِیۡۤ اِسۡرَآءِیۡلَ اِنِّیۡ رَسُوۡلُ اللّٰہِ اِلَیۡکُمۡ مُّصَدِّقًا لِّمَا بَیۡنَ یَدَیَّ مِنَ التَّوۡرٰىۃِ وَ مُبَشِّرًۢا بِرَسُوۡلٍ یَّاۡتِیۡ مِنۡۢ بَعۡدِی اسۡمُہٗۤ اَحۡمَدُ ؕ
And when ‘Isa bin Maryam said, “O children of Israa‘eel! I am the messenger of Allah (sent) to you, confirming the Torah (that came) before me and (giving) glad tidings of a prophet to come after me whose name shall be Ahmed.”
(Extracted from Seeratul Mustafa 1/61-62)