The Question
The Prophet Muhammad (SAW) spent thirteen years in Mecca after the first revelation — preaching, enduring persecution, building a small community of believers. Then, in 622 CE, he migrated to Medina. This raises several questions:
- Why did the divine allow the persecution to reach the point where migration was necessary?
- Couldn’t the divine have protected the Prophet and the Muslim community in Mecca?
- Why specifically Medina (Yathrib)? Why not Egypt, Yemen, or somewhere else?
- Why does the Islamic calendar begin with the Hijra, not with the Prophet’s birth or the first revelation?
- What is the deeper theological meaning — the ta’wil — of this migration?
The Historical Context: Why Migration Became Necessary
Thirteen Years of Mecca
From 610 to 622 CE, the Prophet preached in Mecca — a city dominated by the Quraysh tribe, whose power and wealth depended on their guardianship of the Ka’ba and the tribal trade networks. The Prophet’s message threatened this entire structure:
- Monotheism threatened the polytheist shrines
- The Quran’s social ethics threatened the slaveholding economy
- The Prophet’s growing following threatened Quraysh tribal dominance
The Quraysh’s response escalated: from mockery to economic boycott to torture of converts (Bilal, Sumayyah and Yasir, Khabbab ibn al-Aratt) to a systematic social ostracism (shu’b) of the entire Hashimite clan that lasted three years.
By the tenth year of the prophetic mission, the Prophet lost his two greatest supports in the same year (‘Am al-Huzn — the Year of Sorrow): his beloved wife Sayyida Khadija al-Kubra and his uncle Abu Talib, who had provided tribal protection.
After the death of Abu Talib, the tribal protection was lost. The Quraysh’s harassment became open. A delegation of tribes in Mecca approved a plan to assassinate the Prophet simultaneously, so that no single tribe could be held responsible and the Hashimites would be unable to retaliate.
The Divine’s Permission to Migrate
The migration was not the Prophet’s decision alone — it was divinely timed and divinely permitted:
“And [remember, O Muhammad], when those who disbelieved plotted against you to restrain you or kill you or evict you [from Mecca]. But they plan, and Allah plans. And Allah is the best of planners.” (8:30)
The divine’s own plan included the Hijra. The night of the planned assassination, Imam ‘Ali ibn Abi Talib (AS) lay in the Prophet’s bed to deceive the assassins — one of the most celebrated acts of self-sacrifice in Islamic history — while the Prophet slipped away with Abu Bakr.
See also: Ahl Al Bayt, Imamah
Why Did the Divine Not Protect the Prophet in Mecca?
This is the core theological question. The divine could have protected the Prophet in Mecca — as the Quran records, the divine intervened at Badr with angels (3:123-127). Why not intervene earlier?
1. Divine Protection Operates Through the Law of Cause and Effect
The divine’s sunnah (way of acting) in history is not to suspend natural and social laws arbitrarily. The Quran is explicit:
“You will never find in the way of Allah (sunnat Allah) any alteration, and you will never find in the way of Allah any deviation.” (35:43)
The divine works through historical processes. A community that faces no adversity develops no depth of character, no resilience, no proof of its commitment. The thirteen years of Meccan persecution forged the early Muslim community’s character and tested who was genuinely committed.
2. The Persecution Was Pedagogical
Every test the early Muslims endured had a purpose:
- It separated genuine believers from those who converted only when it was profitable
- It built the spiritual depth (taqwa) that would sustain the community through the decades of building the Islamic civilization
- It demonstrated to all subsequent generations that the Prophet’s claim was not supported by worldly power or convenience — his followers suffered for their belief
3. The Medina Community Could Not Have Been Built Without the Mecca Preparation
The twelve years before Medina produced the core group of Companions (al-Sabiqun al-Awwalun) — those who endured everything, whose faith was tested and proven unbreakable. Without this core, the Medinan community could not have been established. The Meccans (Muhajirun) who migrated to Medina brought with them a tested, proven faith that mixed with the Medina believers (Ansar) to form the first Islamic community.
4. The Divine Provides, But Through Human Agency
“Say: Who will protect you from Allah if He intends harm for you, or intends mercy for you? And they will not find for themselves besides Allah any patron or helper.” (33:17)
The divine’s protection is real — but it operates through human decision, migration, planning, and action. The Hijra itself was the divine’s protection: the divine guided the Prophet to exactly the right destination, at exactly the right time, to exactly the right people (the Ansar, who had pledged their support at the two ‘Aqabah meetings).
Why Medina? Why This Specific Destination?
The Hijra to Medina was not a random choice or a desperate flight — it was a carefully prepared divine strategy:
The Ansar’s Invitation
In the years before the Hijra, two delegations from Yathrib (Medina) had come to Mecca to meet the Prophet — the ‘Aqabah I and ‘Aqabah II pledges:
- ‘Aqabah I (620 CE): 12 men from Medina pledged belief and basic Islamic conduct
- ‘Aqabah II (621 CE): 75 men and women pledged military protection for the Prophet “as they would protect their own women and children”
Medina invited the Prophet. This is theologically significant: the Prophet did not flee to a city of strangers — he migrated to a community that had requested him and had prepared for his arrival.
Medina’s Social Structure
Medina was composed of:
- The Aws and Khazraj tribes (long rivals, whose ongoing conflict made them receptive to a unifying religious authority)
- Three Jewish tribes (Banu Qaynuqa’, Banu Nadir, Banu Qurayza) with whom the Prophet established the Constitution of Medina (Sahifat al-Medina) — the world’s first written constitutional document of inter-communal governance
This social complexity required someone of the Prophet’s character and authority. Medina needed him as much as he needed a safe base.
The Geography of Providence
Medina is sufficiently distant from Mecca (approximately 400 km) to provide security, while remaining within the Arabian Peninsula’s sphere of influence. It had defensive geography (rocky terrain, palm groves) that allowed the early community to survive until it had the strength to engage the Quraysh directly.
Why the Islamic Calendar Begins with the Hijra
The choice to begin the Islamic calendar (Hijri calendar) with the Hijra — made by ‘Umar ibn al-Khattab in consultation with the Companions — reflects a profound theological judgment:
Not the Prophet’s birth: The Hijra is chosen over the Mawlid because the calendar marks not the entrance of the divine’s gift into the world but the formation of the community that would carry that gift forward.
Not the first revelation: The Hijra is chosen over the first revelation because the calendar marks not the beginning of the prophetic message but the beginning of the prophetic society — the point at which Islam became not just a spiritual message but a lived community.
The Hijra as the birth of the Ummah: The Islamic calendar begins with the migration that transformed a persecuted spiritual movement into a community with land, law, and the capacity to build civilization. This is why it marks Year One.
See also: Mawlid Al Nabi, Nubuwwat At Forty, Nubuwwa
The Hijra in the Ismaili-Bohra Tradition
The Ismaili da’wa has its own history of Hijra — not merely as a reference to the prophetic migration, but as a lived reality:
The Fatimid da’wa’s ghurba: The early Ismaili da’wa operated in conditions of concealment and persecution, with da’is moving from city to city under threat, exactly as the Prophet’s Companions endured in Mecca. The theme of ghurba (spiritual exile/alienation) runs through Ismaili literature as a parallel to the prophetic Hijra.
The Da’i’s hijra: Syyedna Hatim ibn Ibrahim al-Hamdi (d. 1199 CE), among others, wrote of the da’wa’s own hijra — the movement from the zahir world of apparent defeat toward the batin world of the Imam’s presence and protection.
Nasir-i Khusraw’s hijra: The great Fatimid da’i and poet Nasir-i Khusraw (d. 1088 CE), exiled to Yumgan in the mountains of Badakhshan, understood his own exile as a spiritual hijra — the outer world’s rejection becoming the condition for the deepest batin work.
See also: Nasir Khusraw, Fatimid Caliphate, Bohra History Mullahs Mainframe
Ta’wil of the Hijra
The zahir of the Hijra is the historical migration from Mecca to Medina in 622 CE — the event that transformed a persecuted minority into a community capable of establishing the divine’s order in the world.
The batin of the Hijra is the soul’s fundamental movement:
Every soul begins in the “Mecca” of its own zahir — the familiar world of the nafs al-ammara, the comfortable idols of habit and ego, the “Quraysh” of worldly attachments that oppose the soul’s truth. The divine’s call reaches the soul there, but the soul cannot grow to its full stature in that familiar, hostile environment.
The soul’s Hijra is the movement toward the Imam — the “Medina” of the soul’s spiritual home, the community of walayah, the safe harbor where the soul’s truth can be expressed without persecution.
“Whoever migrates in the path of Allah will find in the earth many places of refuge and great abundance. And whoever departs from his home as a migrant toward Allah and His Messenger, and then death overtakes him — his reward has already become incumbent upon Allah.” (4:100)
The soul that has made its inner Hijra — that has genuinely turned from the ego’s “Mecca” toward the Imam’s “Medina” — has already found its reward, even if the outer journey is never complete.
The Islamic calendar begins with the Hijra because the soul’s spiritual life begins not at birth (Mawlid) but at the moment of turning — tawba and hijra toward the divine’s call.
See also: Nubuwwa, Nubuwwat At Forty, Mawlid Al Nabi, Imamah, Ahl Al Bayt, Nasir Khusraw, Fatimid Caliphate, Tawba Repentance, Nafs The Soul, Misaq The Covenant, Shift Of Qibla, Understanding Walayah