مِيثَاقُ الْمَدِينَة
The Constitution of Madinah: The Charter That Built a Plural City
At a Glance
622 CE, in the first year after the Hijrah
The Prophet Muhammad, the Muhajirun, the Ansar, and the Jewish tribes of Madinah
Madinah, the new Muslim city in the Hijaz
One of the earliest written constitutions in history, guaranteeing religious freedom

Background: A City That Needed a Covenant
When the Prophet arrived in Madinah after the Hijrah, he inherited a city, not a community. Yathrib’s people were divided into rival Arab tribes, the Aws and the Khazraj, whose wars had bled the oasis for generations. Alongside them lived several Jewish tribes, with their own alliances and fortresses. And now there were the Muhajirun, the Muslim migrants from Makkah, who had left everything behind and needed a place in the city’s life.
The old tribal order ran on blood revenge and shifting alliances. If the new Muslim presence simply became one more armed faction, the city would tear itself apart. The Prophet’s answer was revolutionary for seventh-century Arabia: he put the city’s common life into writing. The result is known as the Constitution of Madinah, or the Mithaq, the charter, and its text has been preserved by the historian Ibn Ishaq in his biography of the Prophet.
What the Charter Said
The document contains forty-seven clauses, and it begins with a declaration that redefined belonging. It states that the believers and Muslims of Quraysh and Yathrib, and those who followed them and joined them and struggled with them, “are one community (ummah) to the exclusion of all men.” For the first time, membership in the political community was based on a shared covenant, not on blood.
One Ummah, Many Faiths
The charter’s most remarkable feature is how it treated the Jewish tribes. It declared that the Jews who followed the Muslims would have help and equality, would not be wronged, and that their enemies would not be aided against them. It named the Jewish clans, Banu Awf, Banu Najjar, Banu al-Harith, Banu Sa’ida, and others, and gave them the same rights and protections as the Jewish allies of the Aws. One clause states it plainly: to the Jews their religion, and to the Muslims theirs.
This was a formal guarantee of religious freedom, written into a binding covenant more than a thousand years before such ideas became common in the West. Many historians note that the Charter of Madinah predates the English Magna Carta by nearly six centuries.
Justice, Defense, and Peace
The charter replaced tribal vengeance with communal justice. It forbade a believer from killing a believer, made the whole community stand against anyone who spread corruption or injustice, even if he were one of their own sons, and placed the final judgment of disputes with Allah and His Messenger. Blood money and the ransoming of captives were organized fairly among the clans.
On defense, the charter made the city’s security a shared duty. All parties were to contribute to the cost of war against a common enemy, no separate peace could be made while the believers were fighting, and the valley of Yathrib itself was declared a sanctuary, a haram, where bloodshed was forbidden. The charter also protected the life, property, and honor of every party’s neighbors and allies.

Key Principles of the Charter
- One political community: Muslims, Jews, and allied tribes formed a single ummah for purposes of the city’s common life.
- Religious freedom: “To the Jews their religion, and to the Muslims theirs,” with equality of protection and no compulsion.
- Mutual defense: all parties shared the duty and cost of defending Madinah against outside attack.
- Communal justice: disputes went to Allah and His Messenger; the community stood united against injustice and corruption.
- Sanctity of the city: Yathrib was declared a protected sanctuary where bloodshed was forbidden.
The Charter in the Life of the City
The charter was not a dead document; it shaped daily life in Madinah from the start. The Prophet ordered a census of the city’s people, so that every household was known and every party’s obligations were clear. He paired the migrants from Makkah with the Helpers of Madinah in formal bonds of brotherhood, each Ansari taking a Muhajir as a brother, sharing home and provision, so that the newcomers were woven into the city’s fabric rather than left as outsiders.
The declaration of Yathrib as a sanctuary gave the city something it had never had: a sacred boundary within which tribal raiding was forbidden. Disputes that would once have been settled by blood revenge were now brought to the Prophet for judgment, and the charter’s rule stood, that the hand of the whole community would be against anyone who spread corruption, even if he were one of their own. For the Jewish tribes, the charter meant something equally new: their religion, property, and internal affairs were protected by a written covenant, not by the shifting favor of stronger neighbors.
The charter also defined Madinah’s foreign relations. No tribe under the covenant could grant separate protection to the Quraysh or make a separate peace while the community was at war. This clause would matter enormously when the Quraysh marched on the city, because it turned Madinah’s defense from a Muslim concern into every party’s legal duty. The city the charter built was the city that would stand at Badr, Uhud, and the Trench.
Lessons and Legacy
The Constitution of Madinah shows Islam’s political vision at its very beginning. The Prophet did not build a theocracy that expelled difference; he built a covenant that organized it. A minority community, Muslims were a small fraction of the city’s population at the time, chose to govern through a written agreement that protected everyone, including those who did not share their faith.
The charter’s principles, consultation, justice, religious freedom, and collective security, became the template for how Muslim societies would govern diverse populations for centuries. It is also a standing answer to the claim that Islam and pluralism cannot coexist: the first Islamic state began with a document that said they must.
The charter would be tested almost immediately. Within two years, the Quraysh of Makkah marched on Madinah, and the city the charter had united would have to defend itself at Badr, then at Uhud, and then against a vast confederacy at the Battle of the Trench. The story continues in this Islamic history series.
FAQ
What is the Constitution of Madinah?
It is a written covenant, also called the Charter or Mithaq of Madinah, drawn up by the Prophet Muhammad in 622 CE, shortly after the Hijrah. With forty-seven clauses, it defined the rights and duties of the Muslims, the Jewish tribes, and the pagan Arab tribes of Madinah as one political community.
Did the charter give religious freedom to non-Muslims?
Yes, explicitly. The charter stated that the Jews who joined the covenant would have help and equality, would not be wronged, and that “to the Jews their religion, and to the Muslims theirs.” Many historians regard it as one of the earliest written guarantees of religious freedom in history.
How was the text of the charter preserved?
The full text was preserved by Muhammad ibn Ishaq in his biography of the Prophet, the Sirah, written in the eighth century. It is one of the oldest surviving constitutional documents in the world.
Who was bound by the charter?
The Muslim migrants from Makkah (Muhajirun), the Muslim Helpers of Madinah (Ansar), the Jewish tribes named in the document, and the allied pagan Arab clans. All were declared “one community” for the purposes of the city’s defense, justice, and common life.
Why is the charter important today?
It is a foundational model of pluralistic governance in Islam: a written constitution, agreed by all parties, that guaranteed religious freedom, communal justice, and mutual defense. It shows that the first Muslim polity was built on covenant and consent, not coercion.
Final Thoughts
The Constitution of Madinah is one of the quietest miracles of the seerah. No battle was fought to produce it, no miracle announced it, yet it did what armies could not: it turned a fractured oasis of warring tribes into a single city with a single covenant. Fourteen centuries later, its forty-seven clauses still speak, reminding us that Islam’s first state was founded not on the sword but on a written promise of justice for all.
Continue Reading
See the charter tested in battle at the Battle of Badr, or return to the Islamic history timeline to explore all ten chapters of the early seerah.
