Drafted, according to Montgomery Watt, in 622 C.E.shortly after the hijra, The Medina Charter, aslo called the Constitution of Madina, was amended at a later date specifically after the battle of Badr (AH [anno hijra] 2, = AD 624). It constituted a formal agreement between Prophet Muhammad and all of the significant tribes and families of Yathrib (later known as Medina), including Muslims, Jews, Christians and pagans. This constitution formed the basis of the first Islamic state.
In the name of God the Compassionate, the Merciful.
(1) This is a...