When the Holy Prophet Mohammed was the head of the state in Medina, he promulgated the Medina Charter, which was the constitution, with which he governed Medina at the time. Article 25 of the Charter reads:
to the Muslims their deen (religion)
to the Christians their deen (religion)
to the Jews their deen (religion)'