The Constitution of Medina gave the consent to the Jews to have their complete religious freedom. Based on the terms of constitution, The Jews in Medina had their own school of learning, named Bait-ul-Midras, where they would recite the Torah, worship and freely educate themselves.