Question: who accompanied the prophet on his migration to madinah
Answer: 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 .