Muhammad is significant to religion.
The Constitution of Medina ( دستور المدينة , Dastūr al-Madīnah ) , also known as the Charter of Medina ( صحيفة المدينة , Ṣaḥīfat al-Madīnah ; or : ميثاق المدينة , Mīthāq al-Madīnah ) , was drafted by the Islamic prophet Muhammad shortly after his arrival at Medina ( then known as Yathrib ) in 622 CE ( or 1 AH ) , following the Hijra from Mecca . 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 . Three years later , in 610 , Muhammad started preaching these revelations publicly , proclaiming that `` God is One '' , that complete `` surrender '' ( lit .