Religious faith is only a part of Islam So religion IS part of Islam. Therefore, those parts of Islam that are religious are protected and a house of worship engaging in them is as well.
As I wrote earlier, Islam is dangerous. The answer is not infringing on constitutional freedoms. That's a slippery slope. The answer lies in good intel and enforcing laws.