Chapter 15 of 22 · 622-623 CE
Building the Community in Madinah
بناء المجتمع في المدينة
From a patch of empty ground and a handful of strangers turned brothers, the Prophet ﷺ built the first Islamic society in the space of months.
Read ↓
وَاذْكُرُوا نِعْمَتَ اللَّهِ عَلَيْكُمْ إِذْ كُنتُمْ أَعْدَاءً فَأَلَّفَ بَيْنَ قُلُوبِكُمْ فَأَصْبَحْتُم بِنِعْمَتِهِ إِخْوَانًا
And remember the favor of Allah upon you when you were enemies and He united your hearts, and you became, by His favor, brothers.
— Quran 3:103
Raising the Prophet's Mosque
Soon after arriving in Madinah, the Prophet ﷺ set about building a mosque near the spot where his camel had knelt on entering the city, on a plot of land he purchased from two orphan boys of the Najjar clan. It was a simple structure by any later standard: walls of sun-dried mud brick, a roof of palm leaves and trunks, a courtyard of packed earth. Yet Masjid al-Nabawi became far more than a place of prayer. It served as courtroom, treasury, guesthouse, school, and council chamber all at once — the beating administrative and spiritual heart of the new Muslim community, and the model for the multipurpose role mosques would play in Muslim societies for centuries afterward.
Brothers Bound Without Blood
Madinah's Muslims now included two very different groups living side by side: the Muhajirun, emigrants from Mecca who had left behind homes, trade, and wealth with almost nothing to their names, and the Ansar, the 'Helpers' of Madinah who had pledged to receive them. To knit these strangers into a single body, the Prophet ﷺ formally paired individual Muhajirun with individual Ansar in a bond of brotherhood, sometimes so binding that pairs even inherited from one another in the earliest years. Ansar families shared homes, orchards, and livelihoods with emigrants who arrived owning little more than the clothes on their backs, an act of generosity the Quran itself later praised as placing others' needs before their own.
A Charter for a New City
Madinah was not, before the Prophet's ﷺ arrival, a single unified town but a patchwork of Arab tribes — chiefly the Aws and Khazraj, long rivals — alongside several Jewish tribes, including Banu Qaynuqa, Banu Nadir, and Banu Qurayzah. To organize this diverse population into one functioning polity, the Prophet ﷺ drew up a written agreement known as the Sahifah, or Constitution of Madinah. It recognized the Muslims and the named Jewish tribes as one community, or ummah, for the purposes of common defense and internal order, while allowing each group to retain its own religious practice and internal law. Disputes were to be referred ultimately to the Prophet ﷺ, and no party could make a separate peace with Quraysh without the consent of the others.
Rules for Shared Life
The document set out practical terms of coexistence with a clarity remarkable for its time: mutual defense of Madinah against outside attack, a ban on harboring or aiding Quraysh against the Muslims, and the principle that no one would be wronged or punished for the wrongdoing of another. It has since been studied by historians as one of the earliest written constitutions in history, a working charter of a genuinely pluralistic city rather than a purely religious decree. Whatever tensions arose later with individual Jewish tribes over specific acts of treaty-breaking, the Sahifah itself reflected the Prophet's ﷺ founding vision of Madinah as a shared home governed by agreed law rather than tribal force alone.
The First Adhan and Communal Rhythm
As the community settled, it needed a way to gather for prayer, and after considering various signals the Prophet ﷺ approved the human voice itself: the call to prayer, or adhan, was entrusted to Bilal ibn Rabah, the formerly enslaved companion whose call became one of the most recognizable sounds in the young city. Markets were organized, agreements on trade and land use took shape, and the rhythms of daily Muslim life — congregational prayer, communal decision-making, care for the poor — began to take their lasting form. In barely a year, a scattering of refugees and hosts had become something the Arabian Peninsula had not seen before: a community defined by shared belief rather than shared blood.
Out of mud brick, borrowed land, and strangers willing to call one another brother, the Prophet ﷺ laid down in Madinah the first working blueprint of a society built on faith rather than lineage.
Sira reports can differ in chronology and detail. Read narrative claims with the cited Quranic passage and the site's editorial methodology in view.