Ayah 114 of Chapter 2 of the Holy Quran states as follows:
وَمَنۡ أَظۡلَمُ مِمَّن مَّنَعَ مَسَـٰجِدَ ٱللَّهِ أَن يُذۡكَرَ فِيہَا ٱسۡمُهُ ۥ وَسَعَىٰ فِى خَرَابِهَآۚ أُوْلَـٰٓٮِٕكَ مَا كَانَ لَهُمۡ أَن يَدۡخُلُوهَآ إِلَّا خَآٮِٕفِينَۚ لَهُمۡ فِى ٱلدُّنۡيَا خِزۡىٌ۬ وَلَهُمۡ فِى ٱلۡأَخِرَةِ عَذَابٌ عَظِيمٌ۬ (١١٤)
114. And who is more unjust than those who forbid that Allah’s Name be glorified and mentioned much (i.e. prayers and invocations, etc.) in Allah’s Mosques and strive for their ruin? It was not fitting that such should themselves enter them (Allah’s Mosques) except in fear. For them there is disgrace in this world, and they will have a great torment in the Hereafter.