Quran 9:17
مَا كَانَ لِلْمُشْرِكِينَ أَنْ يَعْمُرُوا مَسَاجِدَ اللَّهِ شَاهِدِينَ عَلَى أَنْفُسِهِمْ بِالْكُفْرِ أُولَئِكَ حَبِطَتْ أَعْمَالُهُمْ وَفِي النَّارِ هُمْ خَالِدُونَ
The idolaters have no right to visit the mosques of God while bearing testimony to their disbelief. Meaningless will be their acts, and in Hell they will bide for ever,
The polytheists may not maintain Allah’s mosques while they are witness to their own unfaith. Their works have failed, and they shall remain in the Fire [forever].
It does not befit the polytheists to assemble in Allah’s mosques after themselves bearing witness of their disbelief; in fact all their deeds are wasted; and they will remain in the fire forever.
It is not for the idolaters to inhabit God's places of worship, witnessing against themselves unbelief; those -- their works have failed them, and in the Fire they shall dwell forever.
(It) is not for the polytheists that they maintain (the) masajid of Allah (while) witnessing against themselves [with] disbelief. (For) those, worthless (are) their deeds, and in the Fire they (will) abide forever.
It is not for the associators that they shall tend Allah's mosques, while giving evidence of infidelity against themselves. Those! vain shall be their works, and in the Fire they shall be abiders.
It is not for the Mushrikun (polytheists, idolaters, pagans, disbelievers in the Oneness of Allah), to maintain the Mosques of Allah (i.e. to pray and worship Allah therein, to look after their cleanliness and their building, etc.), while they witness against their ownselves of disbelief. The works of such are in vain and in Fire shall they abide.
It does not become those who associate others with Allah in His Divinity to visit and tend Allah's mosques while they bear witness of unbelief against themselves. All their works have gone to waste. They shall abide in the Fire.
The pagans do not have any right to establish (and patronize) the mosque of God while they testify against their souls to its disbelief. Their deeds are devoid of all virtue and they will live forever in hell fire.
The idolaters have no right to visit the mosques of Allah while bearing witness to unbelief against themselves, these it is whose doings are null, and in the fire shall they abide.
It is not for the idolaters to tend Allah's sanctuaries, bearing witness against themselves of disbelief. As for such, their works are vain and in the Fire they will abide.
Idolaters should not inhabit the mosques of Allah bearing witness against themselves with disbelief. Those, their deeds have been annulled, and in the Fire they shall live for ever.
It is not for the polytheists to maintain the mosques of Allah [while] witnessing against themselves with disbelief. [For] those, their deeds have become worthless, and in the Fire they will abide eternally.
It is not for the polytheists to attend God’s places of worship while professing their disbelief. These—their works are in vain, and in the Fire they will abide.
It is not right that the polytheists should frequent God's places of worship while they are self-confessed unbelievers. It is they whose works shall come to nothing and they shall abide in Hell.
It is not for such as join gods with Allah, to visit or maintain the mosques of Allah while they witness against their own souls to infidelity. The works of such bear no fruit: In Fire shall they dwell.