what is constitution of medina