Islam is the religion that was taught by all the apostles of only God. Allah Al-mighty, the only God, says in His Divine Book Al-Qura’an:
“He has ordained for you of religion what He enjoined upon Noah and that which We have revealed to you, [O Muhammad], and what We enjoined upon Abraham and Moses and Jesus - to establish the religion and not be divided therein. Difficult for those who associate others with Allah is that to which you invite them. Allah chooses for Himself whom He wills and guides to Himself whoever turns back [to Him].” [Surah Al-Shura, 42:13]
While explaining this verse, the authority in Tafseer (Commentary on Qura’an), Imam Mujahid (Be His mercy on him) said that Allah Almighty taught same Deen (religion) to all the Prophets (May Allah shower His blessings and peace on all of them). 
Imam Abul Farj Ibnul Jauzi Al-Hanbali (d.597 H) said in his famous commentary on the Qura’an, Zad-ul-Maseer fi Ilm-ut-Tafseer:
شرع لكم ولِمَن قبلكم إقامة الدِّين وترك الفُرقة، وشرع الاجتماع على اتِّباع الرُّسل
“We ordained for you and the nations before you, establishing Deen (religion) and avoiding division; and enjoined to be united on following the footsteps of the Messengers.”
Muslims believe that every prophet preached the same main Islamic faith, the Oneness of God, worshipping of that one God, abstaining from idolatry and evil practices, and the belief in the Day of Resurrection or the Day of Judgement and life after death. The acts of charity, prayer, pilgrimage and fasting are believed to have been taught by every prophet who has ever lived.
The Prophets and Messengers are
chosen and impeccable servants of Allah. They are taught, brought up and looked
after by Allah Himself. They are free of every major and minor sins. They are
descendants of the noblest and religious families and are so perfect in physique,
character, nature, intellect and wisdom that no scientists, scholar, physician and philosopher of the highest calibre can even think to compete with them.
 Muhammad bin Jareer Al-Tabri, Jami Bayanul Qura’an
Abul Farj Ibnul Jauzi, Zadul Maseer: vol.