The Messenger (Muhammad) believes in what has been revealed to him from his Lord, as do the men of faith. Each one (of them) believes in Allah, His angels, His books, and His Messengers “We make no distinction (they say) between one and another of His Messengers.” And they say: “We hear and we obey; (We seek) Your Forgiveness, Our Lord, and to You is the end of all journey;.” Quran 2:285.
Each of the believers believes that Allah is the One and Only and the Sustainer, there is no deity worthy of worship except Him and there is no Lord except Him.
The believers also believe in all the Prophets and Messengers of Allah, in the Books that were revealed from heaven to the Messengers and Prophets, who are indeed the servants of Allah.
Further, the believers do not differentiate between any of the Prophets, such as, believing in some of them and rejecting others. Rather, all the Prophets and Messengers of Allah are, to the believers, truthful, righteous, and they were each guided to the path of righteousness, even when some of them bring what abrogates the Law of some others by permission of Allah.
Later on, the Law of Muhammad, the Final Prophet and Messenger from Allah, abrogated all the laws of the Prophets before him. So the Last Hour will commence while Muhammad’s Law remains the only valid Law, and all the while a group of his Ummah will always be on the path of truth, apparent and dominant.
— Tafsir Ibn Kathir