Constitution of Medina, document from early Islamic history based upon two agreements concluded between the clans of Medina and the Prophet Muhammad soon after the Hijrah (Latin: Hegira), or emigration, to Medina in ad 622. The agreements established the muhājirūn, i.e., the early Muslims who followed Muhammad, on a par with the eight clans of Medina (called the anṣār, or “helpers”); collectively, the nine tribes formed the first Muslim community (ummah). The agreements also regulated the relations of the Muslims with the Jews of Medina.