At-Tawba • EN-TAFSIR-IBN-ABBAS
﴿ مَا كَانَ لِلْمُشْرِكِينَ أَن يَعْمُرُوا۟ مَسَٰجِدَ ٱللَّهِ شَٰهِدِينَ عَلَىٰٓ أَنفُسِهِم بِٱلْكُفْرِ ۚ أُو۟لَٰٓئِكَ حَبِطَتْ أَعْمَٰلُهُمْ وَفِى ٱلنَّارِ هُمْ خَٰلِدُونَ ﴾
“IT IS NOT for those who ascribe divinity to aught beside God to visit or tend God's houses of worship, the while [by their beliefs] they bear witness against themselves that they are denying the truth. It is they whose works shall come to nought, and they who in the fire shall abide”
(It is not for the idolaters) the idolaters ought not (to tend Allah's sanctuaries, bearing witness against themselves) through their calling (of disbelief. As for such, their works are vain) their works are thwarted for as long as they remain disbelievers (and in the Fire they will abide) never to die or leave it.