Tafsir of Surah At-Tawba 9:17
﴿مَا كَانَ لِلْمُشْرِكِينَ أَن يَعْمُرُوا مَسَاجِدَ اللَّهِ شَاهِدِينَ عَلَىٰ أَنفُسِهِم بِالْكُفْرِ أُولَٰئِكَ حَبِطَتْ أَعْمَالُهُمْ وَفِي النَّارِ هُمْ خَالِدُونَ﴾
Translation of the meaning
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.
English Translation - Noor International Center — v1.1.2 · QuranEnc.comThe words of the two imams are given in their original Arabic, verbatim, with references.
Imam Ibn al-Qayyim
فهذه شهادة منهم على أنفسهم بما يفعلون من أعمال الكفر وأقواله، فهي شهادة بكفرهم، وهم شاهدون على أنفسهم بما شهدت به.«مدارج السالكين بين منازل إياك نعبد وإياك نستعين» 3/422