Tafsir Jalalayn At-Tawba 9:17

The ayahs

  1. مَا كَانَ لِلۡمُشۡرِكِينَ أَن يَعۡمُرُواْ مَسَٰجِدَ ٱللَّهِ شَٰهِدِينَ عَلَىٰٓ أَنفُسِهِم بِٱلۡكُفۡرِۚ أُوْلَٰٓئِكَ حَبِطَتۡ أَعۡمَٰلُهُمۡ وَفِي ٱلنَّارِ هُمۡ خَٰلِدُونَ

    Open ayah 9:17

    It is not for the polytheists to maintain the mosques of Allāh [while] witnessing against themselves with disbelief. [For] those, their deeds have become worthless, and in the Fire they will abide eternally.

Tafsir Jalalayn

It is not for the idolaters to attend God's places of worship (masjid, is also read in the singular, masjid), entering them or sitting in them, bearing witness, against themselves, to unbelief; those, their works have failed, [their works] are invalid, and in the Fire they shall abide.