who accompanied the prophet on his migration to madinah
Hegira The Hegira, Hijrah or Hijrath (Arabic: هِجْرَة‎) 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.[1] In June 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.[6] 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".[7]
Moses God sent Moses back to Egypt to demand the release of the Israelites from slavery. Moses said that he could not speak with assurance or eloquence,[7] so God allowed Aaron, his brother, to become his spokesperson. After the Ten Plagues, Moses led the Exodus of the Israelites out of Egypt and across the Red Sea, after which they based themselves at Mount Sinai, where Moses received the Ten Commandments. After 40 years of wandering in the desert, Moses died within sight of the Promised Land on Mount Nebo.