Activity
Other verses (like 7:29 and 7:31) instruct believers to turn to Allah sincerely and take adornment (dress properly) at every mosque, linking mosques to prayer, justice, and devotion.
While the question focuses on what Allah said (the Quran), the Sunnah (Prophetic traditions) beautifully complements this:
Mosques hold high value in Islam as centers of prayer, community, learning, and spiritual peace. They are described as the dearest places to Allah on earth, and frequenting them with sincerity is a sign of strong faith.