The journey from the cave of Thawr to Medina and the entry into the city

رحلة الهجرة من غار ثور إلى المدينة ودخولها

23 September 622 CE · 11 Rabi' I 1 AH† †

† Hijri date derived by computation from the Gregorian/Julian date; it may differ from the transmitted date by a day or two.

Quba → Medina

The Prophet and Abu Bakr left the cave with the guide Abdullah ibn Uraykit and Amir ibn Fuhayra (may God be pleased with him) by the coast road; they passed the tent of Umm Ma'bad, Suraqa ibn Malik pursued them and his horse sank into the ground so that he asked for safe-conduct; they reached Quba on Monday 8 Rabi' I and stayed four days, then entered Medina on Friday.

Depth

At a glance

Era
The Prophetic Era
Region
Arabia
Review
Draft Completeness 2/5 · Help complete it

In time

610620630640
Pre-Islamic Arabia · The Prophetic Era · The Rashidun Caliphate

In space

QubaMedina

Map: Natural Earth, public domain · places and route from the graph

Overview

The Prophet and Abu Bakr left the Cave of Thawr with the guide Abd Allah ibn Uraiqit and Amir ibn Fuhayra, and took the coastal road rather than the familiar road, until they reached Quba on Monday, 8 Rabi al-Awwal, the first year of the Hijra. 1 2

On the road

They passed by Umm Ma'bad al-Khuza'iyya, who fed them and milked her goat for them. Suraqa ibn Malik followed them in hope of the reward, and the two forelegs of his horse sank into the ground up to the knees; he asked for safe conduct, and the Prophet ﷺ wrote him a document of safety on a piece of leather. 3 4 The Prophet met Abu Burayda on the road, who became a Muslim with seventy men of his people, and then the Prophet made his turban a banner. 2 Al-Zubayr met a caravan of Muslim merchants returning from Syria, and clothed him and Abu Bakr in white garments. 2 5

Quba

The Prophet stayed at Quba with Kulthum ibn al-Hidm for four days, and founded the mosque of Quba and prayed in it. 6 7 A Jew on the fortress heard his voice and called out: "O Arabs, this is your grandfather for whom you were waiting!" and the Muslims rushed to their weapons. 6

Entering Medina

On a Friday the Prophet rode, with Abu Bakr behind him, and sent to the Banu al-Najjar, his maternal uncles. The Friday prayer overtook him among the Banu Salim ibn Awf, and he led them in prayer, then entered Medina. The lanes rang with the takbir and the glorification, and the Helpers longed for him to lodge with them; the she-camel walked until she knelt at the site of the Prophet's Mosque, and then Abu Ayyub al-Ansari lodged him in his house. 7 8 9

Family and fever

After some days Sawda, his daughters Fatima and Umm Kulthum, Usama ibn Zayd and Umm Ayman reached him, and Abd Allah ibn Abi Bakr went out with the family of Abu Bakr. Zaynab stayed with her husband Abu al-As until she emigrated after Badr. 8 Fever struck Abu Bakr and Bilal. When fever seized Abu Bakr he recited a verse that death was nearer to him than the strap of his sandal; when the fever left Bilal, he longed for Mecca and its waters. 8 10 The Prophet prayed that God make Medina dear to them as Mecca was, or dearer, and that He cure its fever. 11

Notes for researchers

  • The count of days at Quba differs between reports; the book says Ibn Ishaq holds four days, which al-Mansuri chose, and al-Bukhari has other figures. 7
  • The book holds that the verses the Helpers recited on his entry to Medina were said on his first arrival, and that some people think they were said on his return from Tabuk. 7
For young visitors

The Prophet left Mecca with Abu Bakr, and they hid in the cave for three days, then travelled a long way by a roundabout road. They stopped at Quba and then entered Medina, where its people welcomed him with joy and the takbir, and the city came to be called Medina al-Munawwara.

Connections

Explore the connections

Had participant
Umm Ma'bad al-Khuza'iyya· Muhammad· Abu Bakr al-Siddiq· Suraqa ibn Malik· Kulthum ibn al-Hidm· Abu Ayyub al-Ansari
Occurred at
Quba· Medina
Led to
The Hijra
Part of
The Prophetic Era

People and things also explored

The Hijra· The building of the Prophet's Mosque· The sojourn at Quba· Medina· The Battle of Badr· The brotherhood of the Muhajirun and Ansar· The burial of the Prophet· The change of the qibla

Sources

  1. al-Raheeq al-Makhtum — Safi al-Rahman al-Mubarakpuri, p.167
  2. al-Raheeq al-Makhtum — Safi al-Rahman al-Mubarakpuri, p.170
  3. al-Raheeq al-Makhtum — Safi al-Rahman al-Mubarakpuri, p.168
  4. al-Raheeq al-Makhtum — Safi al-Rahman al-Mubarakpuri, p.169
  5. Sahih al-Bukhari, 1/555
  6. al-Raheeq al-Makhtum — Safi al-Rahman al-Mubarakpuri, p.171
  7. al-Raheeq al-Makhtum — Safi al-Rahman al-Mubarakpuri, p.172
  8. al-Raheeq al-Makhtum — Safi al-Rahman al-Mubarakpuri, p.173
  9. Sahih al-Bukhari, 1/556
  10. Sahih al-Bukhari, 1/589
  11. al-Raheeq al-Makhtum — Safi al-Rahman al-Mubarakpuri, p.174
  • al-Sira al-Nabawiyya — Ibn Hisham
  • Zad al-Ma'ad — Ibn Qayyim al-Jawziyya
Cite this page

islam.museum contributors. “The journey from the cave of Thawr to Medina and the entry into the city”. islam.museum, https://islam.museum/en/event/hijra-journey-to-medina/. CC BY-SA 4.0. Accessed 2026-10-17.

Improve this page on GitHub · Report an error · JSON

Wing

Time

Eras, timelines, this day in history, any year in the Islamic world.
Related

The Hijra

The migration of the Prophet Muhammad and his followers from Mecca to Medina in 622 CE, the event from which the Islamic calendar is counted.