Explanation
The Hegira is the migration or journey of the Islamic prophet Muhammad and his followers from Mecca to Yathrib, later renamed by him Medina, in the year 622.
In May 622, after being warned of a plot to assassinate him, Muhammad secretly left his home in Mecca to emigrate to Yathrib, 320 km (200 mi) north of Mecca, along with his companion Abu Bakr. Yathrib was soon renamed Madīnat an-Nabī (Arabic: مَدينة النّبي, literally "City of the Prophet"), but an-Nabī was soon dropped, so its name is "Medina", meaning "the city".