إِنَّمَا يَعْمُرُ مَسَٰجِدَ ٱللَّهِ مَنْ ءَامَنَ بِٱللَّهِ وَٱلْيَوْمِ ٱلْءَاخِرِ وَأَقَامَ ٱلصَّلَوٰةَ وَءَاتَى ٱلزَّكَوٰةَ وَلَمْ يَخْشَ إِلَّا ٱللَّهَ ۖ فَعَسَىٰٓ أُو۟لَٰٓئِكَ أَن يَكُونُوا۟ مِنَ ٱلْمُهْتَدِينَ
Important Words:
عسی (may be) is meant to express desire or hope of obtaining something good or to express fear lest one should fall into an evil way (Aqrab). The word thus implies either desire or hope of good or fear of evil. They say عسی زید ان یقوم i.e. Zaid is near to standing; or I eagerly desire or I hope that Zaid may be performing the act of standing; or it may be that Zaid is, or will be, standing. عسیmay thus be explained as meaning, it may be that, or simply may be. When uttered by God, the word is expressive of an event of necessary occurrence (Lane). See also the meaning of the word لعل under 2:22. Though desire or hope are not attributable to God, yet the words لعل and عسی are used by God to point to the fact that a certain thing is such that people may base their desire or hope on it (Mufradat).
Commentary:
The prosperity of a Mosque of God, and for that matter of the Ka‘bah itself, lies in the fulfilment of the noble object for which it is built. This object is the glorification and the remembrance of the name of God in it; and certainly this object is much the better realized by prohibiting those from visiting it who, instead of glorifying God, attribute co-partners to Him, and by encouraging and exhorting true believers to frequent it.
The words, these it is who may be among those who reach the goal, signify that, since believers are destined to prosper, even the material prosperity of the Ka‘bah will not suffer from the exclusion of infidels; for, believers will go on pilgrimage to it in ever-increasing numbers.
The words "Mosques of Allah" refer to the Sacred Mosque in v. 19 because the Sacred Mosque or the Ka‘bah being the Central Mosque of Islam stands for all the mosques in the world.