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 Farewell Pilgrimage ( Arabic : حجة الوداع ) was the last and only Hajj pilgrimage Muhammad , prophet of Islam , participated in 632 CE ( 10 AH ) . 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 . Muḥammad ibn ʿAbd AllāhFull name : Abū al-Qāsim Muḥammad ibn ʿAbd Allāh ibn ʿAbd al-Muṭṭalib ibn Hāshim ( ابو القاسم محمد ابن عبد الله ابن عبد المطلب ابن هاشم , lit : Father of Qasim Muhammad son of Abd Allah son of Abdul-Muttalib son of Hashim ) ( محمد [ muħammad ] ; Classical Arabic pronunciation c. 570 CE -- 8 June 632 CE ) is the prophet of Islam and widely identified as its founder by non-Muslims . There are also smaller sects which believe Muhammad to be not the last Prophet :