First of all, we would like to make it clear that Islam’s teachings as regard non-Muslims and its keenness on granting them full protection is not confined to the sphere of worship. Rather, Islam’s mercy and great concern for non-Muslims cover all aspects of life. But here we will tackle only the point referred to in your question, revealing the shinning history of Islam with non-Muslims, and how their places of worship are given full protection.
In this regard, we would like to cite for you the following fatwa issued by the well-known erudite scholar Sheikh Yusuf Al-Qaradawi in which he states the following: Islam establishes a relationship with the people of different faiths on the basis of tolerance, justice, benevolence, and mercy. The basis of this relationship is Allah’s saying in the Qur’an: [Allah forbids you not, with regard to those who fight you not for (your) Faith nor drive you out of your homes, from dealing kindly and justly with them: for Allah loveth those who are just. Allah only forbids you, with regard to those who fight you for (your) Faith, and drive you out of your homes, and support (others) in driving you out, from turning to them (for friendship and protection). It is such as turn to them (in these circumstances), that do wrong.] (Al-Mumtahinah 60: 8- 9)

According to the Qur’an, Muslims are required to deal with all people kindly and justly as long as they do not oppose or oppress Muslims or place obstacles in the way of spreading Islam.
Of non-Muslims, Islam gives special consideration for the People of the Book, that is, Jews and Christians, whether they reside in a Muslim society or not.
Being a divine religion revealed to guide all mankind, Islam tackles all aspects of man’s life, regardless of whether he believes in it or not. That is why we see it granting many rights and privileges to non-Muslim citizens of the Islamic state. Muslims are ordered to show full consideration to this injunction and give due respect to non-Muslims’ places of worship, which are part and parcel of their property enjoying full protection in Islam.
Protection of property: The Islamic government is bound to protect the properties of non-Muslims. In his book Al-Kharaj, Abu Yusuf sheds light on the Prophet’s contract with the people of Najran: “Najran and its neighboring area are in the security of Allah, the Almighty, and His Messenger. The property, religions and churches of the inhabitants, as well as properties, whether much or little, are under the protection of the Prophet.”
`Umar ibn Al-Khattab, in his letter to Abu `Ubaydah ibn Al-Jarrah (may Allah be pleased with them both) wrote: “Prevent Muslims from wronging or causing harm to them (non-Muslims) or taking their property illegally.”
Freedom of worship:
this means the freedom to practice any religion or ideology and not to be forced to adopt a certain faith or compelled to convert to Islam. This is based on the verse:
[Let there be no compulsion in religion: Truth stands out clear from Error: whoever rejects evil and believes in Allah hath grasped the most trustworthy hand-hold, that never breaks. And Allah heareth and knoweth all things.] (Al-Baqarah 2: 256)
Commenting on the verse, the famous exegete Ibn Katheer states: “Don’t force anyone to embrace Islam as it is clear and self-evident in its proofs and realities and does not need to exert force to be accepted.”
Islam protects the places of worship of non-Muslims, and allows them to observe their religious ceremonies. Allah says:
[To those against whom war is made, permission is given (to fight), because they are wronged;- and verily, Allah is most powerful for their aid;- (They are) those who have been expelled from their homes in defiance of right,- (for no cause) except that they say, “our Lord is Allah”. Did not Allah check one set of people by means of another, there would surely have been pulled down monasteries, churches, synagogues, and mosques, in which the name of Allah is commemorated in abundant measure. Allah will certainly aid those who aid his (cause);- for verily Allah is full of Strength, Exalted in Might, (able to enforce His Will).] (Al-Hajj 22: 39-40)
In the reign of `Umar ibn Al-Khattab, the religious freedom of the citizens of Ilya (Jerusalem) and the sanctity of their synagogues and places of worship were confirmed: “This is the protection which the slave-servant of Allah, `Umar, the Commander of the Believers, extends to the people of Ilya: The safeguarding of their lives, properties, churches, crosses, and of their entire community. Their churches cannot be occupied, demolished, or damaged, nor are their crosses or anything belonging to them to be touched. They will never be forced to abandon their religion, nor will they be oppressed. None of the Jews will live with them in Ilya….” (At-Tabari, Tarikh, Vol III, p. 609, ed. Dar Al-Ma`arif, Egypt.)
Khalid Ibn Al-Waleed, in his covenant with the People of `Anat, wrote: “They are allowed to ring the bells at any time of the day or night, except in the time of the Islamic prayer times. They are allowed to bear their crosses in their festivals.” (Abu Yusuf, Al-Kharaj, p. 146)
Muslims not only allowed non-Muslims to enjoy the freedom of their faith, but also let them follow their way even though some of their practices might conflict with the religion of the majority. Actually, this is the highest degree of tolerance. Muslims tolerated the religious practices of their minorities by not prohibiting even those practices which were contrary to the state ideology.
history bears witness to the fact that Muslims accepted and applied the Islamic laws to an extent that has no parallel in the history of mankind. The fair and tolerant approach they show to other faiths are no secret.
Asserting the tolerance of Muslims, Tritton says:
“Muslim rulers frequently went beyond what was required of them in their relations with non-Muslims. The best example of this is the presence of churches and other (non-Muslim) places of worship in purely Arab (Muslim) cities. Government departments always had Christians and Jewish officials who were sometimes given very sensitive and influential posts. Some non-Muslims thus acquired great wealth. In addition, Muslims were accustomed to sharing with Christian their festivals.” (Khartubali, Hasan Ali, Islam and Ahl Adh-Dhimmah, p. 256)