The Constitution of Madinah (Mithaq al-Madinah) was a revolutionary formal agreement drafted by the Prophet Muhammad (PBUH) shortly after his arrival in Medina in 622 CE. It established a multi-religious social contract between the Muslims (Muhajirun and Ansar), the Jewish tribes, and other inhabitants of the city. The document created a unified community (Ummah) where all parties agreed to mutual defense and the protection of religious freedoms. It is considered the world's first written constitution and a foundational model for pluralism, justice, and the rule of law within an Islamic framework, ensuring that different groups could live together in peace. The Constitution of Medina is one of the earliest written political documents in history. It was drafted by the Prophet after the Hijrah, establishing a new political order. The constitution defined the community (ummah) as a single entity, transcending tribal affiliations. It included Muslims from Mecca (Muhajirun) and Medina (Ansar), as well as Jewish tribes who agreed to the terms. The document guaranteed religious freedom for Jews and Christians, stating they would have their religion and the Muslims theirs. It established mutual defense: all parties would defend Medina from external attack. It also established a system of justice, where disputes would be referred to the Prophet. The constitution recognized the Jewish tribes as part of the ummah, with their own religious law, but bound to the political authority of the Prophet. The document was revolutionary for its time. It replaced tribal allegiance with religious and political allegiance. It protected minorities and established the rule of law. The constitution was a model of pluralism. It showed that Muslims could live peacefully with non-Muslims under a just political order. For believers, the Constitution of Medina demonstrates that Islam is not just a faith but a comprehensive political and social system. It shows the Prophet's wisdom in governance, his commitment to justice, and his ability to unite diverse groups. It also shows that religious freedom and protection of minorities are core Islamic principles. The believer learns that justice and peace are foundations of Islamic governance, and that the Ummah is a community of shared values, not just shared faith.