Masjids are established for practicing acts of worship to Allah Alone. Such acts like prayers, reciting Qur'an, studying religion, preaching, and consulting in good as well as other acts of obedience to Allah. Allah (Exalted be He) says:
In houses (mosques) which Allâh has ordered to be raised (to be cleaned, and to be honoured), in them His Name is remembered [i.e. Adhan, Iqamah, Salât (prayers), invocations, recitation of the Qur’ân etc.]. Therein glorify Him (Allah) in the mornings and in the afternoons or the evenings,
Men whom neither trade nor sale (business) diverts from the Remembrance of Allâh (with heart and tongue), nor from performing As-Salât (Iqâmat-as-Salât), nor from giving the Zakât. They fear a Day when hearts and eyes will be overturned (out of the horror of the torment of the Day of Resurrection).
That Allâh may reward them according to the best of their deeds, and add even more for them out of His Grace.
Masjids are not established to be places for fun and chatter. Therefore, all Muslims should develop Masjids with what they are established for, and to preserve them from insignificant worldly affairs.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.