In 622 CE, the city of Yathrib appealed for guidance and unity amid conflicts.The Prophet accepted the call and embarked on the great migration known as Hijrah.Upon arrival, Yathrib was renamed Madinat al-Nabi, later known as Madina Munawara.The Prophet constructed Masjid an-Nabawi and established the Constitution of Madina for equal rights and obligations.