🚨 The Muslim Character 🚨 A Practical Guide to Faith, Character & Daily Life 🚨 The Muslim Character 🚨 A Practical Guide to Faith, Character & Daily Life
Islam

The Hijrah to Madinah: The Migration That Founded a Civilization

The Hijrah to Madinah: The Migration That Founded a Civilization

My student came to class one morning with a question that had kept him awake.

He was fourteen. He had been studying the Seerah since he was eight. He knew the dates. He knew the route. He knew that Abu Bakr ﷺ hid with the Prophet ﷺ in the Cave of Thawr for three days. He knew that the Quraysh sent a search party. He knew that they arrived at the cave’s entrance and turned back.

But something about the story had reached him in a different way the night before.

“The Prophet ﷺ left everything,” he said. “He left Makkah. He left his house. He left the grave of Khadijah. He left the Ka’bah. And he didn’t know — he couldn’t have known for certain — how it would work out. He just went.”

He looked at me.

“That’s what faith actually looks like, isn’t it?”

Yes. That is exactly what faith looks like.

The Hijrah — the migration from Makkah to Madinah in 622 CE — is not simply a movement from one geographical location to another. It is the moment when everything that had been built in thirteen years of Makkan pressure was tested in its most essential form: the willingness to leave what is known for what Allah has promised, with no certainty except the certainty of trust.

And it is the moment that changed everything. Not only for the Prophet ﷺ and his Companions. For Islamic civilization. For the calendar Muslims still use today. For the understanding of what it means to build something lasting in the name of Allah.

Why the Hijrah Was Necessary

By 622 CE, staying in Makkah had become impossible.

The persecution had escalated beyond what personal endurance could absorb. The Quraysh had begun discussing killing the Prophet ﷺ directly. The plan they settled on was specific: gather one man from every tribe in Makkah and have them strike him simultaneously, so that no single tribe could be held responsible and Banu Hashim could not seek revenge. Collective action would diffuse collective accountability.

Allah informed the Prophet ﷺ of the plan before it could be executed. He received the command: migrate.

This command was not a retreat. The scholars have been careful to clarify this across fourteen centuries of Islamic scholarship. The Hijrah was not the Prophet ﷺ running from failure. It was the Prophet ﷺ executing a divinely commanded strategic withdrawal to a location where what he was building could actually be built.

The distinction matters enormously. Muslims who understand the Hijrah as a flight from defeat misunderstand both the event and the Prophet ﷺ. Muslims who understand it as a faith-driven strategic move — leaving the wrong environment to establish the right one — understand something essential about Islamic thinking on when to persist in place and when to move.

The Prophet ﷺ had been sending Muslims to Madinah in small groups for months before he himself departed. The migration did not happen in a single dramatic night. It was organized. Careful. The vulnerable were sent ahead. The logistics were thought through. This is the Seerah showing us something that the popular telling often obscures: the Prophet ﷺ combined complete trust in Allah with complete use of human intelligence and preparation. Both. Never one without the other.

Ustadh Waleed, who teaches Seerah to intermediate students at an online Islamic school, described how he frames this for his students: “I tell them: tawakkul — trust in Allah — is not the abandonment of planning. The Prophet ﷺ arranged a decoy. He had Ali ﷺ sleep in his bed so the watchers would think he was still there. He planned the route. He chose Abu Bakr as his companion. He arranged for the guide. He organized the provision delivery. And then, after all of that, he walked out of his house while the men who planned to kill him were sitting at his door — and they did not see him. The human preparation was complete. The divine protection was also there. Both are part of the story.”

The Night of Departure: Trust Made Visible

The night the Prophet ﷺ left his house is one of the most precisely narrated events in the entire Seerah.

The men of Quraysh were surrounding the house. They were waiting for the morning, when they planned to carry out the killing. Inside, Ali ibn Abi Talib ﷺ lay down in the Prophet’s bed, wrapped in the Prophet’s green cloak. He knew what he was doing. He was twenty-two years old and he lay down in the bed of a man whom armed men were waiting to kill outside the door.

The Prophet ﷺ walked out. He recited the opening verses of Surah Ya-Sin: “And We have put before them a barrier and behind them a barrier and covered them, so they do not see.” (36:9). He took a handful of dust and scattered it over the heads of the waiting men. None of them saw him pass.

There is a specific quality to this moment that deserves to be held. The Prophet ﷺ was not invisible. He was a physical man walking past physical people. What Allah withheld from those men was not the opportunity to see him — it was the perception. The eyes received the information. The minds did not process it.

The scholars have understood this as one of the clearest demonstrations of divine protection in the entire Seerah. Not a parting of the sea. Not a miraculous substitute. Simply: a man walked past, and the people who were watching for him did not see him. That is all. And that is everything.

He went to Abu Bakr ﷺ. Abu Bakr wept when the Prophet ﷺ told him the time had come. He wept not from fear but from joy. He said: “Companionship, O Messenger of Allah?” And the Prophet ﷺ said: “Companionship.”

Aisha ﷺ — who was Abu Bakr’s daughter and who would later become the Prophet’s wife — narrated this scene. She said she had never seen her father cry from joy before that moment. The tears were the outward form of a man whose greatest hope — to be the Prophet’s companion on the most important journey of the early Islamic community — had just been fulfilled.

The Cave of Thawr: Three Days of Complete Trust

The route from Makkah to Madinah goes north. The Prophet ﷺ and Abu Bakr went south first — to throw off pursuit — to the Cave of Thawr in a mountain south of Makkah.

They stayed three days.

The Quraysh sent search parties. The parties came close. The narrations describe them standing at the very entrance of the cave. Asmaa’ bint Abi Bakr — Abu Bakr’s daughter — made the journey on foot, alone, through hostile territory, to bring them food. She used her belt to tie the provisions, earning the title Dhat Al-Nitaqayn — the One of the Two Belts.

Abu Bakr ﷺ looked at the cave entrance. The searchers were there. He could see their feet. He whispered to the Prophet ﷺ: “If any of them looks down at his feet, he will see us.”

The Prophet ﷺ said: “O Abu Bakr, what do you think of two, the third of whom is Allah?”

This sentence is preserved in the Quran. “When the two were in the cave, and he said to his companion: Do not grieve. Indeed Allah is with us.” (9:40)

The “companion” in that ayah is Abu Bakr ﷺ. The only individual Companion named in the Quran by relationship to the Prophet ﷺ. And what he received in that cave — the specific reassurance that Allah’s companionship was present — came after he had expressed fear. He was not fearless. He was afraid and still there. That is what courage actually is.

The searchers left without looking down.

A spider, it is narrated, had spun its web across the cave entrance. A dove had nested at its mouth. The natural presence of undisturbed creatures told the searchers that no one had entered recently. The divine protection wore the face of the ordinary. No miracle that announced itself. A web. A bird. The everyday world arranged to protect what it was told to protect.

Nadia, a mother who studied the Seerah formally and now teaches it to her children at home, described what this section of the Seerah does to her when she returns to it: “I’ve read the Cave of Thawr dozens of times. Every time I reach the ayah — ‘Do not grieve, indeed Allah is with us’ — something stills in me. Not because it was easy. Because he said it when it wasn’t easy. Abu Bakr was afraid. The Prophet ﷺ was not telling him to suppress the fear. He was giving him a bigger reality to hold the fear inside. That bigger reality is what faith does. It doesn’t remove difficulty. It provides a container large enough to hold it.”

The Journey and the Arrival

After three days, the Prophet ﷺ and Abu Bakr ﷺ emerged from the cave with their guide, Abdullah ibn Uraiqit — a non-Muslim who had been specifically chosen for his knowledge of the routes precisely because a non-Muslim tracker would not be suspected of helping the Prophet ﷺ escape.

Again: trust in Allah, combined with intelligent use of available resources.

The journey to Madinah took approximately fourteen days. It covered roughly 450 kilometers of Arabian desert. There were encounters along the way — a woman named Umm Ma’bad, who had a dying goat at her tent, from which the Prophet ﷺ produced milk after passing his hand over its udder. She described him afterward in terms that became one of the most preserved portraits of his physical presence and bearing in the entire tradition.

When the Prophet ﷺ arrived at the outskirts of Madinah — at Quba — he stayed for several days and built the first masjid in Islamic history. Not the most famous masjid. The first. A simple structure of palm trunks and mud brick. He laid the first stone himself.

The arrival in Madinah itself is one of the most emotionally alive scenes in the Seerah. The people of Madinah — the Ansar, who had pledged allegiance at the Pledges of Aqabah and invited the Muslims to come — came out to meet him. Children stood on the rooftops. Women sang. The children of Madinah sang a nasheed that has echoed through Islamic history: “The full moon has risen upon us from the valley of Wada’. And gratitude is binding upon us, as long as a caller calls to Allah.”

The Prophet ﷺ had entered Makkah as a citizen. He entered Madinah as a prophet received by a community. Something had changed not only in geography but in the nature of what was now possible.

What the Hijrah Built in Madinah

The Prophet ﷺ arrived in Madinah and immediately began building — not defensively, not tentatively, but with the purposefulness of someone who knew exactly what this community needed to become.

He built the masjid first. Not his house. The masjid. The center of the community’s life — its place of prayer, its courthouse, its school, its gathering hall — came before his own shelter. He lived in the rooms adjacent to the masjid that were later built. His priority was stated in stone.

He established the brotherhood — the mu’akhah. He paired every Muhajirun (migrant from Makkah) with an Ansar (helper from Madinah). Not symbolically. Practically. The Ansar gave the Muhajirun half of their wealth, their homes, their date orchards. In some cases they offered to divorce one of their wives so the Muhajir brother could marry. The Muhajirun in most cases declined — but the offer itself is a portrait of what the brotherhood actually meant.

This pairing solved an immediate practical crisis — the Muhajirun had arrived with almost nothing, having been forced to leave their property behind in Makkah. It also established the Islamic principle that community belonging creates genuine material responsibility. These were not strangers helping strangers. They were brothers, in the specific sense the Prophet ﷺ had created through the mu’akhah.

He then established the Madinah Charter — a written agreement between the Muslim community and the various tribes of Madinah, including Jewish tribes. It specified the rights and responsibilities of each group. It established the community as a political and social entity with the Prophet ﷺ as its final authority in disputes.

This document is studied by historians as one of the earliest known examples of a codified community charter. It is studied by Islamic scholars as evidence of the Prophet’s ﷺ understanding that Islam was not only a personal religion but a social structure — and that a just social structure required explicit, agreed-upon terms.

Studio Arabiya’s Islamic Studies for Kids — Full Track and the Seerah of the Prophet ﷺ course cover the Hijrah and the Madinah period as central subjects — taught by Al-Azhar certified teachers through live, one-on-one sessions that allow children to ask the questions the material naturally raises. The Hijrah is not presented as a list of events to memorize but as a story of faith in action that children are invited to feel and reflect on.

Why the Hijrah Begins the Islamic Calendar

The Islamic calendar begins not with the birth of the Prophet ﷺ. Not with the first revelation in the Cave of Hira. Not with the death of the Prophet ﷺ. It begins with the Hijrah.

This choice — made by Umar ibn Al-Khattab ﷺ during his caliphate, in consultation with the Companions — reflects a specific understanding of what the Hijrah was.

The birth of the Prophet ﷺ is a fact about a person. The first revelation is the beginning of the message. The Hijrah is the beginning of the community. And in Islamic understanding, the community — the Ummah — is not incidental to Islam. It is part of its essence. Islam was not designed to be practiced in isolation. It was designed to be lived together, in a community that organizes itself around the worship of Allah and the application of His guidance.

The Hijrah is when that community was born. So the Hijrah is when time — in the Islamic sense — begins.

Every Muslim who writes the date in the Islamic calendar is writing a reference back to that moment. A man and his companion, leaving everything, trusting everything, carrying everything that mattered in what they knew and believed — and walking toward what Allah had promised.

Studio Arabiya’s full Seerah curriculum gives children not just the events of the Hijrah but its meaning — why the Islamic calendar begins there, what the mu’akhah established, what the masjid built first tells us about Islamic priorities, and how the Prophet’s ﷺ actions in Madinah embodied the Islam he had carried through thirteen years of Makkan trial.

The Hijrah and Every Muslim Who Has Ever Moved

There is a reason the Hijrah resonates so specifically with Muslim communities in Western countries, with immigrant families, with anyone who has left a homeland.

It is not because their migration equals the Prophet’s ﷺ. It does not. The Hijrah was a unique event of unique theological significance.

It resonates because the experience it describes is human. Leaving what is known. Arriving somewhere where you are not yet known. Building belonging in a new place. Discovering that the community you build in a new place can be as real as the one you left behind.

The Muhajirun left Makkah with almost nothing. They arrived in Madinah and were welcomed by people who had been waiting for them. They built the first Islamic community in a city they had never lived in, alongside people who were not their tribe or their family, held together by something stronger than both.

Muslim families who have emigrated, who have built Islamic communities in new countries, who have made a home in a place they did not grow up in — they are not living the Hijrah. But they are living something that rhymes with it. And knowing the Hijrah gives that experience a frame. A dignity. A connection to the greatest migration in human history.

The student who asked me “that’s what faith actually looks like, isn’t it?” was right.

Faith looks like leaving what is familiar when Allah calls you forward. It looks like planning carefully and trusting completely — both at once, neither instead of the other. It looks like lying down in someone else’s bed so they can pass safely. It looks like three days in a cave, saying “Do not grieve, Allah is with us.” It looks like arriving in a strange city and being welcomed by people who gave you half of what they had.

It looks like building a masjid before you build a house.

That is the Hijrah. That is what it produced. And every Muslim who knows it fully carries something in them that cannot be taken.

Bismillah. Study it. Feel it. Pass it forward.

Leave your thought here

Your email address will not be published. Required fields are marked *