The Noorjoo Magazine

Geography & Maps

The Hijra Route: Mapping the Prophet’s Journey from Mecca to Medina

The Hijra route from Mecca to Yathrib — the oasis town later renamed Medina — wasn’t the straight shot north you’d expect. To throw Quraysh trackers off the trail, the Prophet Muhammad and his companion Abu Bakr first doubled back south, then took a longer, unconventional path that stretched the journey to roughly eight or nine days.

  1. Mecca

Starting Point

A night departure from home, fleeing an assassination plot.

  • Cave of Thawr (south of Mecca)
  • Three Days in Hiding

    They deliberately chose the opposite direction to shake off their pursuers.

  • Western coastal route (Qudayd)
  • Off the Caravan Road

    An indirect, unexpected path, guided by Abdullah ibn Uraykit.

  • Umm Ma’bad’s tent
  • A Stop Along the Way

    A visit with a local family, and one of the earliest recorded physical descriptions of the Prophet.

  • Quba (Yathrib’s outskirts)
  • Islam’s First Mosque

    A few days’ stay, and the building of the Quba mosque.

  • Yathrib / Medina
  • Journey’s End

    The formal arrival — the city was renamed “Medinat al-Nabi,” the City of the Prophet, in his honor.

    The Starting Point: Mecca, in Today’s Saudi Arabia

    Mecca, the city where the journey began, sits in the western part of modern Saudi Arabia, in a region known as the Hijaz. In the Prophet’s time, Mecca was a major commercial and pilgrimage hub — home to the Kaaba, which then housed the idols of Arabia’s tribes and drew pilgrims from across the peninsula every year.

    The First Stop: The Cave of Thawr

    On the night they left Mecca, rather than heading straight north toward Yathrib, the Prophet and Abu Bakr took shelter in the Cave of Thawr, on a mountain south of the city. They stayed there three days, waiting for Quraysh’s search to cool off. According to well-known accounts, the pursuers came right up to the cave’s mouth without realizing anyone was inside.

    The Main Route: Along the Coast, Not the Caravan Road

    For this journey, the Prophet relied on a professional guide, Abdullah ibn Uraykit — a man who hadn’t yet embraced Islam but knew the desert’s lesser-traveled paths better than almost anyone. The choice says something about the decision itself: for a journey this critical, competence mattered more than shared faith.

    Instead of the usual caravan road running straight north, the actual Hijra route first swung west, hugging the Red Sea coast near a place called Qudayd on today’s map of Saudi Arabia, before curving back north toward Yathrib — the opposite of what pursuers would have expected.

    A Stop Along the Way: Umm Ma’bad’s Tent

    According to a well-known account from the Prophet’s biography, the small traveling party passed the tent of a woman named Umm Ma’bad, who sold food and milk to travelers along the road. Her herd was giving little milk that day, but as the story goes, the Prophet prayed and touched the udder of one of her goats, producing enough milk for the whole group. Umm Ma’bad later gave her husband a detailed description of the Prophet’s appearance and manner — an account preserved in the sira literature as one of the earliest physical descriptions of him on record.

    Reaching Yathrib’s Outskirts: Quba

    Before entering Yathrib itself, the Prophet spent several days in Quba, a village on the city’s southern edge. It was there that the first mosque in Islamic history, the Quba mosque, was built — a structure that still stands today in Saudi Arabia’s Medina, expanded and rebuilt over the centuries, and a stop for many pilgrims traveling to the region for Hajj or Umrah. After this stay, the Prophet entered Yathrib, which was renamed “Medinat al-Nabi” — the City of the Prophet — in his honor.

    What Does This Route Look Like Today?

    Today, a modern Saudi highway covers the roughly 450 kilometers between Mecca and Medina in about four to five hours by car — a trip that, even by the most direct path, took weeks in the seventh century. The Cave of Thawr remains a popular destination for pilgrims and history enthusiasts, though reaching it still means a real hike up a steep mountainside near Mecca, not a casual visit.

    Why Take the Longer Route?

    The direct distance from Mecca to Yathrib along the standard caravan road is about 450 kilometers. But the actual Hijra route — with its initial detour south and then the indirect western path — was considerably longer. That choice cost time, but it likely saved the Prophet and Abu Bakr from a Quraysh assassination plot.

    For the fuller story of the Hijra — the pressures that made it necessary, and the invitation from the people of Yathrib — see Why Did the Prophet Migrate to Medina?. For the battles that later unfolded in this same region, read The Battles of Prophet Muhammad’s Time, in Order.

    Sources

    • Ibn Hisham (based on the narration of Ibn Ishaq), Al-Sira al-Nabawiyya
    • Martin Lings, Muhammad: His Life Based on the Earliest Sources
    • Encyclopaedia of Islam, Brill

    Share your thoughts

    Your comment is reviewed by the Noorjoo team before it shows up for other readers.