Muhammad in the Constitution of Medina. In early Muslim history (until mid 11th century), most Islamic scholars maintained a level of separation from the state which helped to establish some elements of institutional religious freedom. The Islamic Caliphate later guaranteed religious freedom under the conditions that non-Muslim communities accept dhimmi status and their adult males pay the jizya tax instead of the zakat paid by Muslim citizens. Though Dhimmis were not given the same political rights as Muslims, they nevertheless did enjoy equality under the laws of property, contract, and obligation. Religious pluralism existed in classical Islamic ethics and Sharia, as the religious laws and courts of other religions, including Christianity, Judaism and Hinduism, were usually accommodated within the Islamic legal framework, as seen in the early Caliphate, Al-Andalus, Indian subcontinent, and the Ottoman Millet system. In medieval Islamic societies, the qadi (Islamic judges) usually could not interfere in the matters of non-Muslims unless the parties voluntarily choose to be judged according to Islamic law, thus the dhimmi communities living in Islamic states usually had their own laws independent from the Sharia law, such as the Jews who would have their own Halakha courts. Dhimmis were allowed to operate their own courts following their own legal systems in cases that did not involve other religious groups, or capital offences or threats to public order. Non-Muslims were allowed to engage in religious practices that were usually forbidden by Islamic law, such as the consumption of alcohol and pork, as well as religious practices which Muslims found repugnant, such as the Zoroastrian practice of incestuous "self-marriage" where a man could marry his mother, sister or daughter. According to the famous Islamic legal scholar Ibn Qayyim (1292–1350), non-Muslims had the right to engage in such religious practices even if it offended Muslims, under the conditions that such cases not be presented to Islamic Sharia courts and that these religious minorities believed that the practice in question is permissible according to their religion. Despite Dhimmis enjoying special statuses under the Caliphates, they were not considered equals, and sporadic persecutions of non-Muslim groups did occur in the history of the Caliphates. India Ancient Jews fleeing from persecution in their homeland 2,500 years ago settled in India and never faced anti-Semitism. Freedom of religion edicts have been found written during Ashoka the Great's reign in the 3rd century BC. Freedom to practise, preach and propagate any