The Qur’an says:
Allah does not forbid you with regards to those who do not fight you for [your] faith nor drive you out of your homes, from dealing kindly and justly with them; for Allah loves those who are just. (Qur’an, 60:8)
There is no compulsion in religion. (2:214)
It is one of the functions of Islamic law to protect the privileged status of minorities, and this is why non-Muslim places of worship have flourished all over the Islamic world. History provides many examples of Muslim tolerance towards other faiths. For example, when the caliph Omar entered Jerusalem in the year 634, he granted amnesty to all and sanctioned freedom of worship to all religious communities in the city. Another example is Muslims who ruled the Spain had such tolerance of other beliefs that the Golden Age of Jewish Civilization flourished under the Muslim rule.
Not only that, Islamic law permits non-Muslim minorities to set up their own courts thus allowing them the autonomy to be judged according to their family law.