Muhammad is significant to religion.
Conquest of Mecca . ( Julian ) , 20 Ramadan , 8 AH The Islamic prophet Muhammad started the journey on 6 Ramadan and entered Mecca on 18 Ramadan . 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 . Muhammad . In December 629 , after eight years of intermittent conflict with Meccan tribes , Muhammad gathered an army of 10,000 Muslim converts and marched on the city of Mecca .