Muhammad is significant to religion.
The Hegira or Hijrah ( [ ) is the migration or journey of the Islamic prophet Muhammad and his followers from Mecca to Yathrib , later renamed by him to Medina , in the year 622 . Muhammad . He is viewed as the final prophet of God in primary branches of Islam , though some modern denominations diverge from this belief.The Ahmadiyya Muslim Community considers Muhammad to be the `` Seal of the Prophets '' ( Khātam an-Nabiyyīn ) and the last law-bearing Prophet but not the last Prophet .