Hijra - The Migration to Medina

The historic migration of Prophet Muhammad and the early Muslim community from Mecca to Medina in 622 CE, marking the beginning of the Islamic calendar and the establishment of the first Islamic state. This pivotal event transformed Islam from a persecuted religious movement into a thriving community with political and social autonomy.

37 min read
622 CE / 1 AH
Prophetic Eraevent

Hijra - The Great Migration That Changed History

Hijra (Arabic: هجرة), meaning "migration" or "departure," refers to the historic journey of Prophet Muhammad ﷺ and the early Muslim community from Mecca to Medina in 622 CE. This pivotal event marks not only the beginning of the Islamic calendar but also the transformation of Islam from a persecuted religious movement into a thriving, autonomous community. The Hijra represents one of the most significant turning points in Islamic history, establishing the foundation for the first Islamic state and demonstrating the principles of sacrifice, trust in Allah, and community solidarity.

Historical Context and Background

The Persecution in Mecca

By 622 CE, the persecution of Muslims in Mecca had reached unbearable levels, creating an environment of constant fear and suffering for the early Muslim community. What had begun as mockery and verbal abuse in the early years of Islam had escalated into systematic oppression designed to crush the new faith and force Muslims to abandon their beliefs. The Meccan elite, led by powerful clans like the Banu Makhzum and Banu Umayya, viewed Islam as a direct threat to their economic interests, social status, and religious authority. The Kaaba, which housed hundreds of idols representing various Arabian deities, was the center of a lucrative pilgrimage industry that brought wealth and prestige to Mecca. The Prophet's message of monotheism and his condemnation of idol worship threatened to undermine this entire system, and the Meccan leaders responded with increasing brutality.

The Economic Boycott: One of the most devastating forms of persecution was the comprehensive economic and social boycott imposed on the Muslims and the clan of Banu Hashim, the Prophet's family. This boycott, which lasted for three years (approximately 616-619 CE), was formalized in a written agreement that was hung inside the Kaaba as a solemn pact among the Meccan tribes. The terms of the boycott were severe and comprehensive: no one was to marry women from the boycotted clans or give their women in marriage to them, no one was to sell anything to them or buy anything from them, and no one was to have any social or commercial dealings with them whatsoever. The boycotted families were confined to a narrow valley on the outskirts of Mecca called Shi'b Abi Talib, where they lived in increasingly desperate conditions.

The suffering during these three years was intense and left lasting scars on the Muslim community. Food became scarce, and the cries of hungry children could be heard from outside the valley, moving some Meccans to secretly send food despite the boycott. The Muslims survived on whatever they could find, including leaves from trees and leather that they would soften and eat. Some companions reported that they could hear the sounds of children crying from hunger echoing through the valley at night. The boycott was finally lifted when several Meccan leaders, moved by conscience and family ties, tore up the agreement. However, the damage had been done, and the health of many Muslims, including the Prophet's beloved wife Khadijah, had been permanently affected by the years of deprivation.

Physical Persecution and Torture: Beyond economic pressure, the Meccans employed brutal physical persecution against Muslims, particularly those who lacked tribal protection. Slaves and poor converts bore the brunt of this violence, as they had no powerful families to defend them. Bilal ibn Rabah, an Abyssinian slave who had embraced Islam, was dragged into the desert at midday and forced to lie on the burning sand with a heavy rock placed on his chest. His master, Umayyah ibn Khalaf, would demand that he renounce Islam and return to idol worship, but Bilal would only repeat "Ahad, Ahad" (One, One), affirming his belief in the oneness of Allah. This torture continued until Abu Bakr purchased Bilal's freedom, but many others endured similar or worse treatment.

Sumayyah bint Khayyat and her husband Yasir, along with their son Ammar, were subjected to horrific torture by the Banu Makhzum clan. They were taken to the desert during the hottest part of the day and tortured in an attempt to force them to renounce Islam. The Prophet would pass by them and could only offer words of comfort and the promise of Paradise, as he lacked the power to protect them from their tormentors. Sumayyah became the first martyr in Islam when Abu Jahl, one of the fiercest enemies of Islam, killed her with a spear thrust. Her husband Yasir also died from the torture, making them the first martyrs of Islam. Their son Ammar survived but bore the physical and emotional scars of the torture for the rest of his life.

Khabbab ibn al-Aratt, a blacksmith who had converted to Islam, was subjected to particularly cruel torture. His masters would heat iron rods until they were red-hot and then press them against his back, or they would force him to lie on burning coals until the fat from his back would extinguish them. Years later, Khabbab would show the scars on his back to other Muslims as testimony to the suffering endured by the early believers. These acts of torture were not isolated incidents but part of a systematic campaign to terrorize Muslims into abandoning their faith.

Assassination Attempts and Threats: As the Muslim community grew despite the persecution, the Meccan leaders became increasingly desperate and began plotting to assassinate the Prophet himself. Several attempts were made on his life, each thwarted by divine protection or the vigilance of his companions. On one occasion, Abu Jahl attempted to strike the Prophet with a large stone while he was praying at the Kaaba, but found himself unable to move, as if paralyzed. Another time, a group of Meccans plotted to attack him while he slept, but Ali ibn Abi Talib slept in his place, allowing the Prophet to escape.

The threats extended to prominent Muslims as well. Umar ibn al-Khattab, before his conversion to Islam, had set out with the intention of killing the Prophet, only to be redirected to his own sister's house where he discovered that she and her husband had secretly converted to Islam. This encounter led to his own dramatic conversion, but it illustrated the murderous intent that many Meccans harbored toward Muslims. The atmosphere in Mecca had become so dangerous that Muslims could not practice their faith openly, and even gathering for prayer required secrecy and caution.

The Year of Sorrow (619 CE): The year 619 CE, known as Am al-Huzn (the Year of Sorrow), marked a devastating turning point in the Prophet's life and the Muslim community's situation in Mecca. Within a short period, the Prophet lost the two people who had been his greatest sources of support and protection: his beloved wife Khadijah and his uncle Abu Talib. Khadijah had been the Prophet's first supporter, the first person to believe in his message, and his constant companion and comforter for twenty-five years of marriage. She had used her wealth to support the Muslim community, had stood by the Prophet through ridicule and persecution, and had provided him with emotional and spiritual support during the most difficult times. Her death left the Prophet grief-stricken and deprived the Muslim community of one of its most generous benefactors.

Abu Talib's death was equally significant, though in a different way. As the leader of the Banu Hashim clan and the Prophet's uncle, Abu Talib had provided crucial tribal protection that prevented the Meccans from directly harming the Prophet. Although Abu Talib never formally converted to Islam, his family loyalty and his recognition of his nephew's noble character led him to protect the Prophet against all threats. With his death, this protection was removed, and the Prophet became vulnerable to direct attack. Abu Talib's successor as clan leader, Abu Lahab, was a fierce enemy of Islam who withdrew the clan's protection from the Prophet, leaving him exposed to his enemies.

The Rejection at Ta'if: Following these losses, the Prophet sought to spread his message beyond Mecca, traveling to the nearby city of Ta'if in hopes of finding a more receptive audience. Ta'if was a prosperous city known for its agriculture and its shrine to the goddess al-Lat, one of the major deities worshipped by the Arabs. The Prophet spent ten days in Ta'if, speaking to its leaders and inviting them to Islam, but he was met with mockery, rejection, and ultimately violence. The leaders of Ta'if not only refused to listen to his message but also incited the city's youth and slaves to chase him out of the city, pelting him with stones until his feet bled and he was forced to take refuge in a garden outside the city.

This rejection at Ta'if, coming so soon after the deaths of Khadijah and Abu Talib, represented one of the lowest points in the Prophet's mission. Exhausted, wounded, and grieving, he made a famous supplication to Allah, saying: "O Allah, to You I complain of my weakness, my lack of resources, and my lowliness before the people. O Most Merciful of those who show mercy, You are the Lord of the weak, and You are my Lord. To whom do You leave me? To a distant person who receives me with hostility? Or to an enemy to whom You have given power over me? If You are not displeased with me, then I do not care, for Your favor is more expansive for me. I seek refuge in the light of Your Face by which all darkness is dispelled and every affair of this world and the next is set right, lest Your anger or Your displeasure descends upon me. I desire Your pleasure and satisfaction until You are pleased. There is no power and no might except by You."

This supplication revealed the depth of the Prophet's suffering but also his unwavering trust in Allah and his determination to continue his mission regardless of the hardships he faced. The rejection at Ta'if made it clear that the Muslims could not remain in Mecca indefinitely and that a new sanctuary would be needed if Islam was to survive and flourish.

The Search for Sanctuary

Early Migrations: Before the main Hijra to Medina, the Prophet had encouraged smaller groups of Muslims to seek refuge elsewhere, recognizing that the situation in Mecca was becoming increasingly untenable. These early migrations served as test cases for the possibility of establishing Muslim communities outside of Mecca and demonstrated the Prophet's strategic thinking about the survival and growth of Islam.

First Migration to Abyssinia (615 CE): The first significant migration occurred in 615 CE, just five years after the Prophet began his public preaching. A group of Muslims, led by Uthman ibn Affan and his wife Ruqayyah (the Prophet's daughter), made the dangerous journey across the Red Sea to Abyssinia (modern-day Ethiopia). This group eventually grew to include approximately eighty-three Muslims who sought the protection of the Negus (King) of Abyssinia, a Christian ruler known for his justice and fairness. The Prophet specifically chose Abyssinia because he had heard of the Negus's reputation for justice and knew that "there is a king there who does not wrong anyone."

The migration to Abyssinia was not without its challenges. The Meccan leaders, determined to prevent the Muslims from finding sanctuary anywhere, sent a delegation led by Amr ibn al-As (who would later convert to Islam) to Abyssinia with valuable gifts for the Negus and his courtiers, requesting that he return the Muslim refugees to Mecca. The delegation argued that the Muslims had abandoned the religion of their forefathers and were causing division in Meccan society. However, the Negus, being a just ruler, insisted on hearing from the Muslims themselves before making a decision.

Ja'far ibn Abi Talib, the Prophet's cousin and the spokesman for the Muslim refugees, delivered a powerful speech before the Negus that explained the message of Islam and the reasons for their migration. He described how they had been living in ignorance and immorality before Islam, worshipping idols, eating dead animals, committing shameful deeds, breaking family ties, and treating neighbors badly. He explained how the Prophet had called them to worship Allah alone, to be truthful, to honor trusts, to maintain family ties, to be good to neighbors, and to avoid forbidden things. He recited verses from the Quran about Mary and Jesus, which moved the Negus to tears and led him to declare that Islam and Christianity came from the same source of divine light. The Negus refused to hand over the Muslims to the Meccan delegation and allowed them to remain in Abyssinia under his protection.

This migration demonstrated several important principles: the universal nature of divine truth that transcends religious boundaries, the possibility of interfaith cooperation and mutual respect, and the legitimacy of seeking refuge from persecution. The fact that a Christian king recognized the truth in the Islamic message and protected Muslims from persecution showed that people of different faiths could coexist peacefully and support each other against injustice. Some of these migrants remained in Abyssinia for many years, only returning to Medina after the Muslim community had been firmly established there.

The Pledge of Aqabah: While some Muslims found refuge in Abyssinia, the Prophet continued to seek opportunities to establish Islam in Arabia itself. During the annual pilgrimage season, when tribes from all over Arabia would come to Mecca, the Prophet would approach different tribal delegations, explain the message of Islam, and seek their protection and support. Most tribes rejected his message, some out of loyalty to their traditional beliefs, others out of fear of antagonizing the powerful Quraysh. However, in 620 CE, the Prophet encountered a group of six men from Yathrib (later renamed Medina), a city about 450 kilometers north of Mecca, who showed interest in his message.

Yathrib was a city with a unique demographic composition. Unlike Mecca, which was dominated by the Quraysh tribe, Yathrib was home to two major Arab tribes, the Aws and the Khazraj, who had been engaged in a bitter and destructive civil war for generations. The city also had a significant Jewish population organized into three main tribes: Banu Qaynuqa, Banu Nadir, and Banu Qurayza. The Jews of Yathrib were familiar with the concept of monotheism and prophetic revelation, and they had sometimes told the Arab tribes that a prophet would soon appear who would help them defeat their enemies. When the six men from Yathrib heard the Prophet's message, they recognized that this might be the prophet the Jews had spoken about, and they saw in Islam a potential solution to their city's problems.

First Pledge of Aqabah (621 CE)

The following year, during the pilgrimage season of 621 CE, twelve men from Yathrib came to Mecca specifically to meet with the Prophet. They met him secretly at a place called Aqabah, a narrow pass on the outskirts of Mecca, to avoid detection by the Quraysh. These twelve men, representing both the Aws and Khazraj tribes, took a pledge known as the First Pledge of Aqabah or the Pledge of Women (because it did not include a commitment to fight). They pledged to worship Allah alone without associating any partners with Him, to refrain from theft, adultery, infanticide (a common practice in pre-Islamic Arabia), and slander, and to obey the Prophet in all that was good and right.

This pledge was significant because it represented the first formal acceptance of Islam by a group from outside Mecca and the first indication that the Muslims might find a sanctuary beyond their hostile home city. The Prophet sent Mus'ab ibn Umayr, a young companion known for his knowledge and gentle character, back to Yathrib with these twelve men to teach the Quran and the principles of Islam to the people there. Mus'ab's mission was remarkably successful. He stayed in the home of As'ad ibn Zurarah, one of the twelve who had taken the pledge, and began teaching Islam to the people of Yathrib. His gentle manner, deep knowledge, and sincere devotion attracted many people to Islam, and within a year, there was hardly a house in Yathrib that did not have at least one Muslim.

Second Pledge of Aqabah (622 CE)

The success of Mus'ab's mission led to an even more significant development the following year. During the pilgrimage season of 622 CE, seventy-three men and two women from Yathrib came to Mecca to meet with the Prophet and take a more comprehensive pledge. This meeting, known as the Second Pledge of Aqabah or the Pledge of War, took place in the middle of the night to maintain secrecy. The Prophet was accompanied by his uncle Abbas, who, although not yet a Muslim, wanted to ensure that his nephew would be properly protected if he decided to migrate to Yathrib.

The people of Yathrib pledged not only to practice Islam but also to protect the Prophet and the Muslims as they would protect their own families and property. This was a significant commitment because it meant that they were willing to go to war against the powerful Quraysh if necessary to defend the Muslims. As'ad ibn Zurarah, speaking for the people of Yathrib, made clear the gravity of what they were undertaking: "O Messenger of Allah, we are people of war. We have inherited it from our fathers. If we protect you and then Allah grants you victory, will you return to your people and leave us?" The Prophet smiled and replied: "No, blood is blood, and blood not to be paid for is blood not to be paid for. I am of you and you are of me. I will war against those who war against you and be at peace with those at peace with you."

This pledge laid the foundation for the Hijra and for the establishment of the first Islamic state in Medina. The people of Yathrib had essentially invited the Prophet to come to their city as a leader and arbitrator, offering him and his followers protection and support. They understood that this decision would likely bring them into conflict with the Quraysh, but they were willing to accept this risk for the sake of Islam and for the opportunity to have the Prophet live among them. The Prophet selected twelve leaders from among them, nine from the Khazraj and three from the Aws, to serve as representatives of their people and to take responsibility for their communities' commitment to Islam.

The Divine Command and Preparation

The Revelation to Migrate

Divine Permission: After years of persecution, Allah granted permission for the migration:

"And it is He who has sent down to you, [O Muhammad], the Book in truth, confirming what was before it. And He revealed the Torah and the Gospel." (Quran 3:3)

The Quran later praised those who migrated: "And those who emigrated for [the cause of] Allah after they had been wronged - We will surely settle them in this world in a good place; but the reward of the Hereafter is greater, if only they could know." (Quran 16:41)

Strategic Planning

Gradual Migration: The migration was carefully planned and executed in phases:

Phase 1: Advance Groups

  • Small groups of Muslims began leaving Mecca quietly
  • Avoided suspicion by traveling at different times
  • Established connections and support networks in Medina

Phase 2: Family Groups

  • Larger family units began the journey
  • Women and children traveled with male guardians
  • Essential belongings and resources were transported

Phase 3: The Prophet's Migration

  • The final and most dangerous phase
  • Required elaborate planning and divine protection
  • Marked the official beginning of the Islamic calendar

The Prophet's Historic Journey

The Night of Departure

The Assassination Plot: The Meccan leaders, realizing the threat of mass migration, plotted to kill the Prophet:

The Conspiracy:

  • Representatives from all major tribes gathered
  • Plan to attack simultaneously to distribute blood guilt
  • Prevent retaliation from the Prophet's clan
  • Eliminate the Islamic movement at its source

Divine Protection: Allah informed the Prophet of the plot through revelation: "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." (Quran 8:30)

The Escape Strategy

Ali's Sacrifice:

  • Ali ibn Abi Talib slept in the Prophet's bed
  • Covered himself with the Prophet's green cloak
  • Risked his life to facilitate the Prophet's escape
  • Demonstrated ultimate loyalty and courage

The Departure:

  • The Prophet left his house under cover of darkness
  • Recited Quran 36:9 to become invisible to the plotters
  • Met Abu Bakr at his house as planned
  • Together they headed toward the Cave of Thawr

The Cave of Thawr

The Hiding Place: For three days and three nights, the Prophet and Abu Bakr hid in a cave on Mount Thawr, located about five kilometers south of Mecca in the opposite direction from Medina. This choice of location was strategically brilliant, as the Meccan search parties naturally assumed that the fugitives would head north toward Medina and concentrated their efforts in that direction. The cave itself was small and difficult to access, requiring a steep climb up the rocky mountain. Its entrance was partially concealed by rocks and vegetation, making it an ideal hiding place, though the conditions inside were cramped and uncomfortable.

The three days spent in the cave were filled with tension and danger. The Meccan search parties were scouring the area, offering a substantial reward for the capture of the Prophet, dead or alive. The bounty was so large - one hundred camels - that it attracted bounty hunters and trackers from all over the region. At one point, a search party came so close to the cave that Abu Bakr could see their feet from inside. In this moment of extreme danger, Abu Bakr whispered to the Prophet, "O Messenger of Allah, if one of them were to look down at his feet, he would see us." The Prophet's response demonstrated his complete trust in Allah's protection: "O Abu Bakr, what do you think of two when Allah is their third?" This statement, later immortalized in the Quran, encapsulated the essence of Islamic faith - complete reliance on Allah even in the most desperate circumstances.

Divine Protection: According to Islamic tradition, Allah provided miraculous protection for the Prophet and Abu Bakr during their time in the cave. The most famous of these miracles involved a spider and a dove. As the story is told, after the Prophet and Abu Bakr entered the cave, a spider quickly spun its web across the entrance, and a dove built its nest there and laid eggs. When the Meccan search party approached the cave and saw the undisturbed spider web and the dove sitting peacefully on its nest, they concluded that no one could have entered the cave recently and moved on without investigating further. While some scholars debate the authenticity of these specific details, the story has become an enduring symbol of divine protection and the way Allah can use the smallest of His creatures to accomplish His purposes.

The cave also witnessed moments of deep spiritual communion between the Prophet and Abu Bakr. In the darkness and silence of their hiding place, away from the demands and dangers of the outside world, they had time for prayer, reflection, and intimate conversation. Abu Bakr later recalled these three days as among the most precious of his life, despite the danger and discomfort. The experience deepened the bond between them and demonstrated Abu Bakr's unwavering loyalty and courage. His willingness to risk everything to accompany the Prophet, his concern for the Prophet's safety above his own, and his steadfast faith in the face of danger exemplified the qualities that would later make him the first Caliph of Islam.

Abu Bakr's Devotion: The Quran itself commemorates Abu Bakr's role in the Hijra and his steadfast companionship during this critical time: "If you do not aid the Prophet - Allah has already aided him when those who disbelieved had driven him out [of Mecca] as one of two, when they were in the cave and he said to his companion, 'Do not grieve; indeed Allah is with us.' And Allah sent down his tranquility upon him and supported him with angels you did not see and made the word of those who disbelieved the lowest, while the word of Allah - that is the highest. And Allah is Exalted in Might and Wise." (Quran 9:40)

This verse, revealed later, confirmed Abu Bakr's status as the Prophet's companion in this historic journey and validated his crucial role in the establishment of Islam. The phrase "one of two" became a title of honor for Abu Bakr, distinguishing him as the sole companion of the Prophet during this most critical moment. The verse also emphasized that it was Allah's protection, not human planning alone, that ensured the success of the Hijra, though human effort and careful planning were also necessary.

The Faithful Supporters: The success of the hiding strategy depended on a carefully coordinated support network that operated with remarkable efficiency and courage. Abdullah ibn Abi Bakr, Abu Bakr's son, served as the intelligence gatherer. Each day, he would spend time in Mecca, listening to conversations, observing the search efforts, and gathering information about the Quraysh's plans and movements. At night, he would make the dangerous journey to the cave to report what he had learned, allowing the Prophet and Abu Bakr to stay informed about the situation and adjust their plans accordingly. His role required not only courage but also discretion and intelligence, as any suspicion about his activities could have led to the discovery of the hiding place.

Asma bint Abi Bakr, Abu Bakr's daughter and the Prophet's future daughter-in-law, played an equally crucial role. Each night, she would prepare food and water and make the difficult climb up Mount Thawr to deliver provisions to the two men hiding in the cave. On one occasion, she found that she had forgotten to bring something to tie the food containers with, so she tore her belt in half and used one piece to secure the provisions. This act earned her the honorable title "Dhat an-Nitaqayn" (The Woman of Two Belts), a name by which she would be known throughout Islamic history. Her courage in making these dangerous nightly journeys, while pregnant with her first child, demonstrated the extraordinary dedication of the early Muslims to the Prophet's mission.

Amir ibn Fuhayrah, Abu Bakr's shepherd and a freed slave, had perhaps the most ingenious role in the support network. Each evening, after Abdullah and Asma had visited the cave, he would drive his flock of sheep over the paths they had taken, effectively erasing their footprints and making it impossible for trackers to follow their trail to the cave. He would also leave the sheep near the cave so that the Prophet and Abu Bakr could have fresh milk. His role required careful timing and attention to detail, as any mistake could have exposed the entire operation. The fact that a former slave played such a crucial role in protecting the Prophet demonstrated Islam's revolutionary message about the equality of all believers regardless of their social status.

The entire operation required absolute trust, perfect coordination, and unwavering courage from everyone involved. Any one of these individuals could have been caught and tortured to reveal the Prophet's location, yet none of them wavered in their commitment. Their success in maintaining secrecy for three days, while the entire Meccan establishment was searching for the Prophet, was a testament to their faith, their loyalty, and their organizational skills. This network of support also demonstrated an important principle: while Muslims must trust in Allah's protection, they must also take practical measures and use their intelligence and resources to achieve their goals.

The Journey to Medina

The Route and Challenges

The Southern Route: To avoid detection, they took an unusual southern route:

  • Traveled along the Red Sea coast
  • Avoided the main caravan routes
  • Faced harsh desert conditions
  • Relied on Bedouin guide Abdullah ibn Urayqit

Physical Hardships:

  • Extreme heat during the day
  • Cold nights in the desert
  • Limited water and food supplies
  • Constant fear of pursuit and capture

The Camel Incident: When they reached the outskirts of Medina, the Prophet's camel, Qaswa, stopped at a specific location:

  • The Prophet declared this was where Allah wanted him to stay
  • This site became the location of the first mosque in Medina
  • Demonstrated divine guidance in practical decisions

The Welcome in Medina

The Joyous Reception: The arrival of the Prophet in Medina was met with unprecedented celebration:

The Welcoming Song: The people of Medina, especially the children, sang: "Tala'a al-badru 'alayna min thaniyyat al-wada' Wajaba al-shukru 'alayna ma da'a lillahi da' (The full moon has risen over us from the valley of Wada' And we owe it to show gratefulness wherever the call is made to Allah)

Universal Hospitality:

  • Every family wanted to host the Prophet
  • He allowed his camel to choose where to stop
  • Demonstrated fairness and avoided favoritism
  • Established the principle of divine guidance in decision-making

The Establishment of the Islamic Community

The Constitution of Medina

The First Islamic State: Upon arrival in Medina, one of the Prophet's first and most significant acts was the establishment of a written constitution that would govern the diverse community of the city. This document, known as the Constitution of Medina (Sahifat al-Madinah) or the Medina Charter, was revolutionary for its time and established principles of governance, religious freedom, and social organization that were unprecedented in seventh-century Arabia. The constitution was not imposed unilaterally but was the result of consultation and agreement among all the parties involved, demonstrating the Islamic principle of shura (consultation) in governance.

The Constitution of Medina consisted of approximately forty-seven clauses that addressed various aspects of community life, rights, and responsibilities. It was a practical document designed to address the specific challenges facing Medina, including the integration of the Muhajirun (emigrants from Mecca) with the Ansar (helpers from Medina), the relationship between Muslims and the Jewish tribes, and the establishment of security and justice in a city that had been torn by tribal warfare for generations.

Key Principles: The constitution established several groundbreaking principles that would influence Islamic political thought for centuries to come:

Religious Freedom and Pluralism: One of the most remarkable aspects of the Constitution of Medina was its explicit recognition of religious freedom and the rights of non-Muslim communities. The document stated: "The Jews of Banu Awf are one community with the believers. The Jews have their religion and the Muslims have theirs." This principle was extended to all the Jewish tribes of Medina, guaranteeing them the right to practice their religion freely, maintain their own religious courts for internal matters, and participate in the economic and social life of the city. This was revolutionary in an era when religious persecution and forced conversion were common practices.

The constitution recognized that religious diversity was a reality that needed to be accommodated rather than eliminated. It established the principle that people of different faiths could live together in one political community, sharing certain civic responsibilities while maintaining their distinct religious identities. This model of religious pluralism, established in Medina in the seventh century, anticipated by many centuries the modern concepts of religious freedom and tolerance that would eventually develop in other parts of the world.

Collective Defense and Security: The constitution established that all parties - Muslims, Jews, and allied Arab tribes - were responsible for the collective defense of Medina against external threats. It stated: "The Jews must bear their expenses and the Muslims their expenses. Each must help the other against anyone who attacks the people of this document. They must seek mutual advice and consultation, and loyalty is a protection against treachery." This principle of collective security created a common interest that transcended religious and tribal divisions and helped unite the diverse population of Medina against common enemies.

The constitution also addressed internal security, establishing that blood feuds and tribal revenge killings, which had been a major source of conflict in pre-Islamic Arabia, would be replaced by a system of justice administered by the Prophet as the leader of the community. It stated: "Whenever you differ about a matter it must be referred to Allah and to Muhammad." This provision established the Prophet's authority as the final arbiter in disputes and created a centralized system of justice that could override tribal loyalties and customs.

Justice and Equality Before the Law: The constitution established that all members of the community, regardless of their social status, tribal affiliation, or religious identity, were equal before the law and entitled to justice. It prohibited the harboring of criminals and stated that anyone who committed a crime would be held accountable regardless of their connections or status. This principle challenged the pre-Islamic Arabian system where tribal loyalty often trumped justice and where powerful individuals could act with impunity.

The constitution also established the principle of individual responsibility for crimes, stating that "a person is not liable for his ally's misdeeds." This meant that the Islamic concept of individual accountability replaced the tribal practice of collective punishment, where an entire clan could be held responsible for the actions of one of its members. This was a significant step toward a more just and rational legal system.

Protection of the Weak and Vulnerable: The constitution included specific provisions for the protection of vulnerable members of society. It stated that "the weak and the oppressed among them" were entitled to protection and support from the community. This reflected the Islamic emphasis on social justice and the responsibility of the strong to protect and care for the weak. The constitution also addressed the rights of women, children, and slaves, establishing protections that were progressive for their time.

Economic Cooperation and Mutual Support: The constitution established principles of economic cooperation, including the obligation to pay blood money (diyah) collectively in cases of accidental killing, the prohibition of usury and exploitation, and the encouragement of trade and commerce. It created a framework for economic activity that balanced individual enterprise with social responsibility and community welfare.

Multi-Religious Society: The Constitution of Medina created what might be called the first multi-religious state in Islamic history, where Muslims, Jews, and Arab tribes formed one political community (Ummah) while maintaining their distinct religious identities. The document stated: "The Jews of Banu Awf, Banu al-Najjar, Banu al-Harith, Banu Sai'dah, Banu Jusham, Banu al-Aws, and Banu Tha'labah are one community with the believers." This formulation recognized that political unity did not require religious uniformity and that people of different faiths could cooperate for common goals while respecting each other's religious differences.

Each religious community maintained its own religious practices, religious courts for internal matters, and religious leadership, while sharing in the civic responsibilities and benefits of membership in the political community. This model demonstrated that Islam, from its earliest days, recognized the legitimacy of religious diversity and sought to create frameworks for peaceful coexistence rather than forced uniformity.

Shared Responsibilities for Defense and Governance: All parties to the constitution shared responsibility for the defense of Medina and for maintaining internal peace and security. The document established that "the Jews must bear their expenses and the Muslims their expenses" in matters of defense, and that all parties must cooperate against external aggression. This created a common interest that helped unite the diverse population and established the principle that citizenship in the Islamic state carried both rights and responsibilities regardless of religious affiliation.

Precedent for Islamic Pluralism: The Constitution of Medina established a precedent for Islamic governance that would influence Muslim political thought and practice for centuries. It demonstrated that Islamic political authority could accommodate religious diversity, that non-Muslims could be full citizens of an Islamic state with protected rights and responsibilities, and that political unity did not require religious uniformity. These principles would later be developed into the concept of dhimmi status for non-Muslims living under Islamic rule, which, despite its limitations by modern standards, was relatively progressive for its time and provided protections for religious minorities that were uncommon in the medieval world.

The constitution also established the principle that governance in Islam should be based on consultation, consent, and written agreements rather than arbitrary rule or tribal custom. The fact that the Prophet negotiated and agreed to a written constitution with the various parties in Medina, rather than simply imposing his will, demonstrated the Islamic emphasis on consultation (shura) and the importance of establishing clear, agreed-upon rules for governance.

The Ansar and Muhajirun

The Helpers (Ansar): The Muslims of Medina who welcomed and supported the migrants from Mecca earned the honored title of Ansar (Helpers), a designation that would be remembered and revered throughout Islamic history. The Ansar's generosity and sacrifice went far beyond simple hospitality; they shared their homes, their wealth, and their very livelihoods with the Muhajirun, treating them not as refugees or guests but as brothers and sisters in faith. This extraordinary display of generosity was all the more remarkable given that Medina itself was not a wealthy city, and many of the Ansar had limited resources to begin with.

The Quran praised the Ansar in the highest terms, acknowledging their unique contribution to the establishment of Islam: "And [also for] those who were settled in the Home [Medina] and [adopted] the faith before them. They love those who emigrated to them and find not any want in their breasts of what they [the emigrants] were given but give [them] preference over themselves, even though they are in privation. And whoever is protected from the stinginess of his soul - it is those who will be the successful." (Quran 59:9)

This verse highlighted several remarkable qualities of the Ansar: their prior commitment to Islam before the arrival of the Muhajirun, their genuine love for the emigrants, their freedom from jealousy or resentment when the emigrants received attention or resources, and their willingness to give preference to others even when they themselves were in need. The phrase "even though they are in privation" emphasized that the Ansar's generosity was not the easy charity of the wealthy but the sacrificial giving of those who had little to spare.

The Ansar demonstrated their commitment in concrete ways. They offered to share their date palm groves, their most valuable economic assets, with the Muhajirun. They invited the emigrants to live in their homes, sometimes for extended periods. They helped the Muhajirun establish businesses and learn new trades. They defended the emigrants against threats and stood by them in times of danger. This level of generosity and solidarity was unprecedented in Arabian society, where tribal loyalty typically trumped all other considerations and where outsiders were often viewed with suspicion or hostility.

The Prophet recognized and honored the Ansar's contribution throughout his life. He said: "If all the people went one way and the Ansar went another way, I would go the way of the Ansar." On another occasion, he said: "O Allah, forgive the Ansar, the children of the Ansar, and the children of the children of the Ansar." These statements demonstrated his deep appreciation for their sacrifice and his recognition that the success of Islam in its early years depended heavily on their support.

The Emigrants (Muhajirun): The Muslims who migrated from Mecca to Medina earned the title of Muhajirun (Emigrants), a designation that carried both honor and sacrifice. The Muhajirun had left behind everything they had known - their homes, their businesses, their property, and in many cases, their families - for the sake of their faith. Many of them had been wealthy merchants or members of prominent families in Mecca, but they arrived in Medina with nothing but the clothes on their backs and their commitment to Islam.

The Quran also praised the Muhajirun for their sacrifice: "For the poor emigrants who were expelled from their homes and their properties, seeking bounty from Allah and [His] approval and supporting Allah and His Messenger, [there is also a share]. Those are the truthful." (Quran 59:8)

This verse acknowledged the material losses suffered by the Muhajirun but emphasized that their migration was motivated by spiritual rather than worldly considerations. They sought "bounty from Allah and [His] approval" rather than material gain, and they were willing to endure poverty and hardship for the sake of supporting the Prophet and the Islamic message. The designation of them as "the truthful" (as-sadiqun) confirmed that their claim to faith was validated by their willingness to sacrifice for it.

The Muhajirun brought with them valuable knowledge and experience. Many of them had been close companions of the Prophet in Mecca and had deep understanding of Islamic teachings. They had memorized portions of the Quran, understood the principles of Islamic law and practice, and had experience in organizing and managing the Muslim community under difficult circumstances. This knowledge and experience would prove invaluable in establishing the Islamic community in Medina and in spreading Islam beyond Arabia.

However, the Muhajirun also faced significant challenges in their new home. They had to adapt to a different climate, learn new trades (as many of their Meccan business skills were not directly applicable in the agricultural economy of Medina), and integrate into a society with different customs and tribal structures. Some of them struggled with poverty and homesickness. The Prophet was particularly attentive to their needs and worked to ensure that they were supported and integrated into the community.

The Brotherhood System: To facilitate the integration of the Muhajirun and to strengthen the bonds between the two groups, the Prophet established a formal system of brotherhood (mu'akhah) between the Ansar and the Muhajirun. This was not merely a symbolic gesture but a practical arrangement with real legal and economic implications. Each Ansari was paired with a Muhajir in a bond of brotherhood that was recognized by the community and that carried specific rights and responsibilities.

The Prophet carefully considered the pairings, matching individuals based on their personalities, skills, and circumstances. For example, he paired Sa'd ibn ar-Rabi, one of the wealthiest men among the Ansar, with Abdur-Rahman ibn Awf, who had been a successful merchant in Mecca but arrived in Medina with nothing. Sa'd immediately offered to share everything he had with Abdur-Rahman, including offering to divorce one of his wives so that Abdur-Rahman could marry her (an offer that Abdur-Rahman politely declined, asking instead to be shown the way to the marketplace so he could start trading).

Initially, the bonds of brotherhood included inheritance rights, meaning that if one of the brothers died, the other would inherit from him just as a blood relative would. This provision demonstrated the seriousness of the brotherhood bonds and provided economic security for the Muhajirun, who had left their blood relatives behind in Mecca. However, after the Battle of Badr, when the Muslim community had become more established and the Muhajirun had begun to achieve economic independence, this provision was abrogated by divine revelation, and inheritance was restricted to blood relatives. Nevertheless, the bonds of brotherhood continued to be honored and maintained throughout the lives of those involved.

The brotherhood system created unprecedented social solidarity that transcended tribal loyalties, economic interests, and blood relations. It demonstrated that Islamic brotherhood was not merely a spiritual concept but a practical reality with concrete implications for how Muslims should treat each other. The system showed that Islam could create bonds stronger than those of tribe or family, and that faith could unite people across traditional social divisions.

The success of the brotherhood system depended on the sincerity and generosity of both parties. The Ansar had to be willing to share their resources and welcome strangers into their lives, while the Muhajirun had to be humble enough to accept help and grateful for the support they received. Both groups had to overcome natural human tendencies toward selfishness, pride, and tribalism. The fact that the system worked as well as it did was a testament to the transformative power of Islamic faith and the quality of character that the Prophet had cultivated in his companions.

The brotherhood between the Ansar and Muhajirun became a model for Islamic social relations that would influence Muslim communities for centuries. It demonstrated that Muslims have obligations to each other that go beyond mere tolerance or peaceful coexistence, extending to active support, material sharing, and genuine brotherhood. The Quranic praise for both groups - the Ansar for their generosity and the Muhajirun for their sacrifice - established that both giving and receiving in the cause of Allah are honorable, and that the Muslim community depends on both those who have resources to share and those who are willing to sacrifice for their faith.

The Transformation of Islam

From Persecution to Empowerment

Religious Freedom:

  • Muslims could practice their faith openly
  • Established regular congregational prayers
  • Built the first mosque (Masjid an-Nabawi)
  • Developed Islamic educational institutions

Political Autonomy:

  • The Prophet became the political and religious leader
  • Established Islamic law and governance
  • Created diplomatic relations with neighboring tribes
  • Developed military capabilities for defense

Economic Development:

  • Established Islamic economic principles
  • Regulated trade and commerce
  • Instituted zakat (obligatory charity) system
  • Created economic partnerships between Ansar and Muhajirun

The Beginning of Islamic Expansion

Defensive Measures:

  • Organized the Muslim community for defense
  • Established alliances with friendly tribes
  • Prepared for inevitable conflict with Mecca
  • Demonstrated that Islam could thrive when given freedom

The Qibla Change: Initially, Muslims prayed toward Jerusalem, but in Medina, the direction was changed to Mecca:

  • Demonstrated Islam's independence and unique identity
  • Honored the Abrahamic tradition while establishing Islamic distinctiveness
  • Unified the Muslim community around a common focal point

The Islamic Calendar

The Beginning of Islamic Dating

622 CE = 1 AH: The Hijra marks the beginning of the Islamic calendar:

Significance:

  • Represents the birth of the Islamic state
  • Marks the transition from persecution to empowerment
  • Establishes a uniquely Islamic temporal framework
  • Commemorates sacrifice and divine guidance

The Lunar Calendar:

  • Based on lunar months rather than solar years
  • Approximately 354 days per year
  • Creates a rotating relationship with seasons
  • Emphasizes spiritual rather than agricultural cycles

Annual Commemoration

Islamic New Year: The first day of Muharram marks the Islamic New Year:

  • Reflection on the lessons of Hijra
  • Remembrance of sacrifice and perseverance
  • Renewal of commitment to Islamic principles
  • Community gatherings and educational programs

Lessons and Legacy

Principles Demonstrated

Trust in Divine Providence: The Hijra demonstrates complete reliance on Allah while taking practical measures:

  • Careful planning combined with trust in Allah
  • Recognition that success comes from divine blessing
  • Importance of both effort and surrender
  • Balance between action and acceptance

Sacrifice for Faith: The migrants left everything for their beliefs:

  • Material possessions abandoned for spiritual values
  • Family ties strained for religious conviction
  • Comfort sacrificed for principle
  • Temporary loss accepted for eternal gain

Community Solidarity: The Ansar's welcome demonstrates Islamic brotherhood:

  • Sharing resources with those in need
  • Welcoming strangers as family
  • Putting community needs above personal interests
  • Creating bonds stronger than blood relations

Historical Impact

The Foundation of Islamic Civilization: The Hijra established the foundation for:

  • Islamic law and governance
  • Educational and cultural institutions
  • Economic and social systems
  • Military and diplomatic capabilities

Model for Future Generations: The event provides a template for:

  • Dealing with persecution and oppression
  • Building inclusive communities
  • Balancing religious and political responsibilities
  • Creating just and equitable societies

Contemporary Relevance

Modern Migration

Refugee and Immigrant Communities: The Hijra provides guidance for modern Muslims facing:

  • Political persecution and religious discrimination
  • Economic hardship and social marginalization
  • Cultural challenges in new environments
  • The need to maintain identity while integrating

Community Building: Modern Muslim communities can learn from:

  • The Ansar's welcoming spirit
  • The Muhajirun's adaptability and resilience
  • The Prophet's inclusive leadership
  • The Constitution of Medina's pluralistic principles

Spiritual Lessons

Personal Hijra: Every Muslim is encouraged to make their own spiritual migration:

  • From ignorance to knowledge
  • From sin to righteousness
  • From selfishness to service
  • From despair to hope

Community Responsibility: Modern Muslims are called to:

  • Welcome and support newcomers
  • Share resources with those in need
  • Build inclusive and just communities
  • Demonstrate Islamic values through action

Conclusion

The Hijra stands as one of the most significant events in human history, marking not only the beginning of the Islamic calendar but also the transformation of Islam from a persecuted religious movement into a thriving civilization. This historic migration demonstrates the power of faith, the importance of community solidarity, and the possibility of creating just and inclusive societies based on divine guidance.

The courage of the Muhajirun in leaving everything behind for their faith, combined with the unprecedented generosity of the Ansar in welcoming and supporting them, created a model of Islamic brotherhood that continues to inspire Muslims worldwide. The Prophet's leadership in establishing the Constitution of Medina showed how religious conviction could be combined with practical governance to create a pluralistic society that protected the rights of all its members.

For contemporary Muslims, the Hijra provides both historical inspiration and practical guidance for building communities, dealing with challenges, and maintaining faith in difficult circumstances. The event reminds believers that with trust in Allah, careful planning, and community support, even the most daunting challenges can be overcome, and apparent defeats can be transformed into ultimate victories.

The legacy of the Hijra continues to shape Islamic consciousness, reminding Muslims that their faith calls them not only to personal righteousness but also to the creation of just, compassionate, and inclusive communities that reflect the divine values revealed through the Prophet Muhammad ﷺ.

Images (3)

Hijra - The Migration to Medina - Image 1

Click to view

1/3
Hijra - The Migration to Medina - Image 2

Click to view

2/3
Hijra - The Migration to Medina - Image 3

Click to view

3/3

Image Policy Notice: In accordance with Islamic traditions, images during the Prophetic Era are limited to places, buildings, maps, and historical artifacts. No human depictions are shown for this period.

Tags

HijraMigration to MedinaIslamic CalendarProphet MuhammadAbu BakrYathribFirst Islamic StateAnsarMuhajirunCave of ThawrIslamic HistoryProphetic Era

References & Bibliography

This article is based on scholarly sources and historical records. All sources are cited below in CHICAGO format.

📚
1
Sahih al-Bukhari, Book of Virtues of Medina, Hadith 1774-1778.
📚
2
Sahih Muslim, Book of Jihad and Expedition, Hadith 4424-4428.
📚
3
Ibn Ishaq's Sirat Rasul Allah (Life of the Messenger of God).
📚
4
Al-Tabari's History of Prophets and Kings, Volume 7.
📚
5
Ibn Hisham's Biography of the Prophet Muhammad.
📚
6
Martin Lings' Muhammad: His Life Based on the Earliest Sources.
📚
7
W. Montgomery Watt's Muhammad at Medina.
📚
8
Karen Armstrong's Muhammad: A Biography of the Prophet.

Citation Style: CHICAGO • All sources have been verified for academic accuracy and reliability.

Related Articles

Battle of Badr - The First Great Victory

The first major military victory of the Muslim community under Prophet Muhammad on March 13, 624 CE, where 313 Muslims defeated a much larger Meccan army of nearly 1,000 warriors. This decisive battle established the military credibility of the Islamic state, demonstrated divine support for the Muslim cause, and marked the beginning of Islamic expansion beyond Medina.

Prophetic Eraevent

Nusaybah bint Ka'ab: The Warrior Woman Who Defended the Prophet

Nusaybah bint Ka'ab (رضي الله عنها), also known as Umm Amarah, was a courageous female companion of Prophet Muhammad ﷺ who fought valiantly at the Battle of Uhud, defended the Prophet with her own body, and participated in multiple military campaigns, becoming one of the most celebrated women warriors in Islamic history.

Prophetic Eraperson

Conquest of Mecca - The Peaceful Victory

The peaceful conquest of Mecca by Prophet Muhammad and the Muslim army in 630 CE, marking the triumph of Islam in the Arabian Peninsula. This bloodless victory demonstrated Islamic principles of mercy, forgiveness, and justice, leading to the mass conversion of the Meccan population and the purification of the Kaaba from idolatry.

Prophetic Eraevent

Constitution of Medina: The First Islamic Charter of Rights

The Constitution of Medina (622 CE) was the first written constitution in Islamic history, establishing the principles of religious tolerance, collective responsibility, and justice that would govern the diverse community of Medina under Prophet Muhammad's leadership.

Prophetic Eraconcept

Isra and Miraj - The Night Journey and Ascension

The miraculous night journey of Prophet Muhammad from Mecca to Jerusalem (Isra) and his ascension through the heavens (Miraj), one of the most significant spiritual events in Islamic history. This divine experience established the five daily prayers and demonstrated the Prophet's unique status as the final messenger of Allah.

Prophetic Eraevent

Battle of Uhud: The Test of Faith and Resilience

The Battle of Uhud (625 CE) was the second major military engagement between the Muslim community of Medina and the Meccan Quraysh tribe, serving as a crucial test of faith, discipline, and resilience for the early Muslim community.

Prophetic Eraevent