When Muhammad was about forty years old, he had a vision of God, who revealed to him the-divine message, to carry the word of God or Allah to the people of Mecca. He declared that Allah was the one and only God and Muhammad was his Prophet. This gave way to a new religion called Islam.