Building the Madinan Society: How the Prophet ﷺ Established the First Muslim Community (UK Seerah Guide)
By eaalim manager on 12/22/2025
The migration of the Prophet Muhammad ﷺ and his companions from Makkah to Madinah in 622 CE — the Hijrah — is the moment Islam transformed from a persecuted minority faith into a society. For British Muslims studying Seerah, the Madinan years (622-632 CE) are arguably more relevant than the Makkan years, because they show how Islam actually functions as a community, not just as private belief. This UK guide to the building of the Madinan society draws clear parallels to the realities of British Muslim community life today.
Why Madinah was harder than Makkah, despite freedom
It sounds counter-intuitive: in Makkah, Muslims were tortured, boycotted, and persecuted. In Madinah, they had freedom of worship, leadership, and a homeland. So why do the Madinan years feel weightier in the Seerah?
Because freedom multiplies responsibility. In Makkah, the Muslims faced one antagonist: Quraysh. Their job was to hold their faith and not break under torture. In Madinah, Muslims now had to govern — to balance the Muhajireen (the immigrants from Makkah) with the Ansar (the Madinan helpers), to manage relations with the Jewish tribes (Banu Qaynuqa, Banu Nadir, Banu Qurayza), to confront the hypocrites (the munafiqeen, who pretended Islam while planning to undermine it), and to defend a city while still building it.
For British Muslims, this is the closest historical parallel to community life in the UK. We are no longer the silenced 1990s minority of British Islam. There are mosques, schools, halal shops, and Muslim representation in Parliament, the media, and the professions. Now the question is how to steward that freedom — how to build institutions, balance internal differences, and engage with non-Muslim neighbours wisely.
The first acts of the Prophet ﷺ in Madinah
Within weeks of arriving in Madinah in 622 CE, the Prophet ﷺ did three foundational things:
- Built the Masjid an-Nabawi. Before housing himself, he built a mosque. The mosque was not just a place of prayer — it was the school, the court, the welfare office, and the meeting hall. UK lesson: the mosque should never be merely a prayer hall. The most successful UK mosques (East London, Manchester Central, Birmingham Central, Cardiff) are full community institutions.
- Forged the brotherhood (Mu'akhah). He paired each Muhajir (immigrant from Makkah, who had abandoned property) with an Ansari (Madinan host) as brothers. The Ansar shared their wealth, homes, and even offered to share their wives (the Muhajireen refused this magnanimous offer with thanks). UK lesson: established British Muslim families taking in new reverts, refugees, or international students follows this same Sunnah.
- Drafted the Constitution of Madinah. A written charter regulating Muslim, Jewish, and pagan relations within the city. It established legal pluralism, mutual defence, and clear obligations. UK lesson: British Muslim engagement with the wider society — through community covenants, neighbourhood relations, and civic participation — has direct prophetic precedent.
Managing internal Muslim differences in Madinah
The Muhajireen were largely from Quraysh, urban traders. The Ansar were mostly from two tribes (Aws and Khazraj) who had fought each other for generations before Islam. The Prophet ﷺ had to integrate these very different groups into one ummah.
His method: shared prayer five times a day; shared fasting in Ramadan; shared brotherhood pairings; shared Friday Jumuah; shared participation in defence and charity. Differences in personality and background remained, but shared worship and shared work bound them together.
British Muslim communities mirror this complexity. Bradford has Pakistani-origin Muslims; East London has Bangladeshi-origin; Glasgow has Punjabi and Iraqi communities; Bradford and Birmingham have Yemeni and Somali; Cardiff has Yemeni heritage going back over 100 years. Mosques and Islamic schools that build cross-cultural unity through shared salah and shared service of the wider British public follow the prophetic pattern.
The Munafiqeen — hypocrites within the community
One of the hardest groups the Prophet ﷺ faced in Madinah was the munafiqeen — people who declared Islam publicly but worked against it privately. Surahs like Al-Munafiqun (Surah 63) and An-Nisaʾ 4:142-143 describe them in detail. Their leader, Abdullah ibn Ubayy ibn Salul, would offer Islam-friendly speeches in the mosque while undermining the Muslims behind the scenes.
The Prophet's ﷺ approach was firm but fair: he did not unjustly punish them, but he also did not let their behaviour go unchecked. UK lesson: every British Muslim community has people whose private conduct contradicts their public Islamic profile. The Sunnah is not naive; it acknowledges this reality and engages with it firmly without descending into accusation.
Relations with the Jewish tribes of Madinah
The Constitution of Madinah included three major Jewish tribes: Banu Qaynuqa, Banu Nadir, and Banu Qurayza. The covenant guaranteed religious freedom, mutual defence, and joint responsibilities for the city. When individual tribes broke the covenant (by aiding enemies or attempting assassinations), they faced consequences. When they kept it, they prospered alongside the Muslims.
For British Muslims, this is the model for engagement with non-Muslim neighbours: covenanted relationships with clear obligations on both sides, mutual respect within those obligations, and consequences for those who break them. It is not naive multiculturalism; it is principled coexistence.
What British Muslim families can take from Madinan Seerah
- The mosque is more than a prayer hall — build it as a school, a welfare office, a community centre.
- Brotherhood across cultural lines is a Sunnah, not an option.
- Engagement with non-Muslim neighbours through clear covenants and good conduct is prophetic.
- Hypocrisy within the community is real and must be addressed firmly without descending into suspicion.
- Freedom is not the end goal — stewardship of freedom is.
Continue your Seerah study
This is part of Eaalim's UK Seerah series. The next instalment, The Armed Struggle Between Makkah and Madinah, covers the battles of Badr, Uhud, and Khandaq through to the Conquest of Makkah. To learn the Quranic ayahs revealed during the Madinan period, our one-to-one online lessons walk you and your children through them with proper Tajweed and tafsir context. Free trial here.
Frequently asked questions
Start your journey with Eaalim today!
Start Free TrialFrequently Asked Questions
The Hijrah took place in 622 CE — corresponding to year 1 of the Hijri calendar, which is why year 1 AH (After Hijrah) begins from this migration. The Prophet (peace be upon him) and Abu Bakr left Makkah on the night of the assassination plot, hid in the Cave of Thawr for three days, and arrived in Madinah after about 12 days of journey. The arrival in Quba (a suburb of Madinah) is celebrated as the founding moment of the first Muslim state.
The Constitution of Madinah (Sahifat al-Madinah) is the written covenant the Prophet (peace be upon him) drafted to regulate relations between Muslims, the Jewish tribes (Banu Qaynuqa, Banu Nadir, Banu Qurayza), and other groups in Madinah. It established mutual defence, religious autonomy for non-Muslims, joint responsibilities for the city's defence, and a unified legal framework for handling disputes. It is regarded by many historians as one of the world's earliest written constitutions.
The Muhajireen ('emigrants') were the Muslims who migrated from Makkah to Madinah, leaving behind property and family. The Ansar ('helpers') were the Madinan Muslims of the Aws and Khazraj tribes who hosted, supported, and shared their wealth and homes with the Muhajireen. The Prophet (peace be upon him) paired them as brothers in the Mu'akhah, creating the foundational social structure of the Madinan community.
Because British Muslims today are no longer a persecuted minority. We have mosques, schools, freedom of worship, and growing institutional presence — closer to the Madinan situation than the Makkan one. The Madinan Seerah teaches how to govern, build institutions, manage internal differences, and engage with non-Muslim neighbours through covenanted relationships. The Makkan Seerah teaches how to hold faith under persecution, which is less directly applicable in modern Britain (though it has its own value).
No. The covenant included specific protections for the Jewish tribes — religious freedom, joint defence, equal legal standing within their communities. Conflict only arose when individual tribes broke the covenant, with documented evidence (Banu Qaynuqa attacked a Muslim woman; Banu Nadir attempted to assassinate the Prophet; Banu Qurayza joined the enemy during the siege of Madinah). The consequences followed established Arabic legal norms of the time and were proportionate to the breach. Other Jewish individuals and families remained in Madinah throughout the Prophetic era.
The Mu'akhah was the formal pairing of each Muhajir with an Ansari as brothers, with sharing of homes, wealth, and even inheritance for a period. It was a temporary measure to settle the Muhajireen, later replaced by normal blood-relative inheritance after Surah Al-Anfal 8:75 was revealed. The UK equivalent today: established British Muslim families hosting reverts, supporting refugees, or sponsoring international Muslim students. This kind of voluntary brotherhood remains a powerful Sunnah.
He did not retaliate against them publicly without proof of treachery, but he also did not pretend their behaviour was acceptable. Surah Al-Munafiqun and other passages in the Quran exposed their patterns. He withheld trust where it was unwarranted, named them privately to senior companions, but maintained outward justice. The classical scholars derive the principle: judge people by what they openly profess, but do not naively trust those whose private conduct contradicts their public Islam.
First, mosques should be more than prayer halls — schools, welfare offices, community spaces, like the Masjid an-Nabawi. Second, cross-cultural unity within the ummah (Pakistani, Bangladeshi, Yemeni, Somali, Iraqi, convert) follows the Aws-Khazraj-Muhajir model. Third, engagement with non-Muslim Britain through clear ethical covenants — neighbour relations, civic participation, charity to all — has direct prophetic precedent. Fourth, dealing firmly but fairly with internal hypocrisy and external malice requires both wisdom and clarity.
Yes. The Madinan surahs (most of Surah Al-Baqarah, Aal-Imran, Al-Nisa', Al-Maidah, Al-Anfal, Al-Tawbah, Al-Munafiqun, and others) are part of any Hifz programme. Eaalim's one-to-one online lessons cover Tajweed, memorisation, and brief tafsir context for each surah, helping British Muslim children understand not just the words but the Madinan circumstances of revelation.
The Sealed Nectar (Ar-Raheeq al-Makhtoom) by Safi-ur-Rahman al-Mubarakpuri is the most accessible single-volume Seerah for British Muslim adults. For deeper study, Tariq Ramadan's In the Footsteps of the Prophet offers a contemporary reading, and Adil Salahi's Muhammad: His Character and Conduct is excellent for character-focused understanding. All three are widely available in UK Islamic bookshops and online.