مَا كَانَ لِلْمُشْرِكٖینَ اَنْ یَعْمُرُوا مَسَاجِدَ اللّٰهِ شَاهِدٖینَ عَلٰٓى اَنْفُسِهِمْ بِالْكُفْرِؕ اُو𐻾لٰٓئِكَ حَبِطَتْ اَعْمَالُهُمْۚ وَفِی النَّارِ هُمْ خَالِدُونَ
Ma kana lilmushrikeena an yaAAmuroo masajida Allahi shahideena AAala anfusihim bialkufri olaika habitat aAAmaluhum wafee alnnari hum khalidoona
Translations
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
Saheeh International
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
Marmaduke Pickthall