Skip to content
The Hijra: The Migration That Began a Calendar
History & Civilisation

The Hijra: The Migration That Began a Calendar

islam.mu Editorial Team4 min read

The Hijra: The Journey That Founded the First Muslim Community

In 622 CE, a movement unfolded across the desert of the Arabian Peninsula that would fundamentally alter the course of world history. The Prophet Muhammad ﷺ and a small band of early Muslims migrated from their native city of Mecca to the northern oasis city of Yathrib. Known in Arabic as the Hijra (migration), this journey was far more than an escape from physical persecution; it represented a decisive transition from survival under hostility to the founding of a self-governing, pluralistic moral community. As classical biographer Ibn Ishaq (d. 767 CE) and modern historians such as W. Montgomery Watt have emphasized, the Hijra stands as the defining turning point in early Islamic history, laying the institutional and social foundations of the early ummah (community).

The Gathering Storm: Social and Political Context in Mecca

For over a decade following the first revelations of Islam in 610 CE, the early Muslim community in Mecca faced escalating resistance from the ruling Quraysh tribal leadership. Mecca's economy and social prestige were deeply tied to the polytheistic pilgrimages surrounding the Kaaba, making the uncompromising monotheistic message of Islam both a religious and an economic challenge to the established order.

The vulnerability of the early believers worsened dramatically around 619 CE, a period referred to in traditional biographies as the "Year of Sorrow." Within a short span, the Prophet lost his beloved wife Khadija—who had offered vital emotional and financial support—and his uncle Abu Talib, chief of the Banu Hashim clan, who had provided crucial tribal protection under traditional Arab customs. Without Abu Talib's protection, believers faced heightened physical harassment, economic boycotts, and torture, especially those without powerful clan connections.

Seeking a sustainable home for the message, the Prophet began meeting with delegates from outside Mecca during the annual trade and pilgrimage seasons. In 621 and 622 CE, leaders from the Aws and Khazraj tribes of Yathrib met the Prophet at a location near Mecca called al-Aqaba. Fractured by years of destructive civil strife, these tribes accepted Islam and extended a formal invitation to the Prophet and his followers to relocate to Yathrib, pledging to protect them as their own kin.

The Journey: Strategy, Trust, and the Cave of Thawr

Fearing that a Muslim enclave in Yathrib would threaten Meccan trade routes to the Levant, the leaders of Quraysh met at their assembly hall, Dar al-Nadwa, and decided to assassinate the Prophet. To prevent his clan from exacting blood revenge, they selected one representative from each major clan to strike him simultaneously. Learning of the conspiracy, the Prophet planned a covert departure.

He asked his cousin Ali ibn Abi Talib to lie in his bed wrapped in his green cloak, serving as a decoy while also ensuring that items entrusted to the Prophet by Meccans were safely returned. On the night chosen for the assassination, the Prophet slipped out undetected alongside his companion Abu Bakr al-Siddiq. To mislead pursuers expecting them to travel north toward Yathrib, they moved south and hid inside a cave on Mount Thawr (Jabal Thawr).

They remained hidden in the cave for three days as Meccan search parties scoured the countryside. Historical accounts record that pursuers came to the very entrance of the cave, but saw no trace of human entry, prompting Abu Bakr's anxiety and the Prophet's quiet reassurance of Divine care. To complete the 250-mile trek through unforgiving desert, they hired Abdullah ibn Urayqit, a skilled non-Muslim guide whose expert knowledge of remote coastal routes enabled them to evade Meccan patrols. In September 622 CE, the small group reached the outskirts of Yathrib safely.

Arrival and Rebuilding: Social Cohesion in Medina

The arrival in Yathrib ushered in a transformative era. The city was soon renamed Madinat al-Nabi ("The City of the Prophet"), known simply as Medina. Upon reaching Quba on the city's edge, the Prophet established the first mosque in Islamic history before proceeding into Medina proper.

To forge unity among the diverse population, the Prophet instituted two pioneering social structures. First, he established a pact of spiritual fraternity (Mu'akhah), pairing each Meccan refugee (Muhajir) with a Medinan host (Ansar, or "Helpers"). The Ansar shared their homes, land, and livelihoods, creating a social safety net grounded in faith rather than tribal kinship.

Second, the Prophet drafted a comprehensive civil document known as the Constitution of Medina (Sahifat al-Madina). As classical historian Al-Tabari records and modern scholar Hugh Kennedy notes, this document bound the Muslim clans and the native Jewish tribes into a unified civic framework. It guaranteed freedom of worship, required collective defense against external attacks, and established impartial judicial arbitration, creating an early model of pluralistic governance.

Why the Hijra Marks the Start of the Islamic Calendar

In 638 CE (17 AH), sixteen years after the migration, the second Caliph, Umar ibn al-Khattab, recognized the need for a standardized calendar to manage the expanding state. In consultation with senior companions, several options were considered for Year One, including the Prophet's birth (Mawlid) and the year of the first Quranic revelation.

The companions ultimately chose the Hijra. While individual birth and divine revelation were crucial milestones, the Hijra marked the birth of an active, self-determining moral community organized under ethical laws. By establishing the Hijri calendar around this event, Islamic tradition commemorates not a military conquest or political enthronement, but a conscious journey toward faith, sanctuary, and communal responsibility.

Sources

  • Ibn Ishaq / Ibn HishamSirat Rasul Allah (The Life of Muhammad): The foundational 8th-century Arabic biography detailing the events, routes, and individuals involved in the migration.
  • Al-TabariTarikh al-Rusul wa al-Muluk (History of the Prophets and Kings): A major classical chronicle recording early administrative developments, including the drafting of the Constitution of Medina.
  • W. Montgomery WattMuhammad at Medina (Oxford University Press): An authoritative academic study analyzing the socio-political dynamics and community-building in early Medina.
  • Hugh KennedyThe Prophet and the Age of the Caliphates (Routledge): A comprehensive modern historical account covering the transformation of early Islamic society and governance.
  • Encyclopaedia BritannicaHijrah: A peer-reviewed historical summary of the 622 CE migration and the subsequent institution of the Islamic calendar.

Sources

  1. Ibn Ishaq / Ibn Hisham — Sirat Rasul Allah (The Life of Muhammad)
  2. Al-Tabari — Tarikh al-Rusul wa al-Muluk (History of Prophets and Kings)
  3. W. Montgomery Watt — Muhammad at Medina
  4. Hugh Kennedy — The Prophet and the Age of the Caliphates
  5. Encyclopaedia Britannica — Entry on the Hijrah
ShareWhatsAppXFacebook