Tafsir of Surah Al-Anfaal 8:39
﴿وَقَاتِلُوهُمْ حَتَّىٰ لَا تَكُونَ فِتْنَةٌ وَيَكُونَ الدِّينُ كُلُّهُ لِلَّهِ فَإِنِ انتَهَوْا فَإِنَّ اللَّهَ بِمَا يَعْمَلُونَ بَصِيرٌ﴾
Translation of the meaning
And fight against them until there is no fitnah and [until] the religion [i.e., worship], all of it, is for Allāh. And if they cease - then indeed, Allāh is Seeing of what they do.
English Translation - Noor International Center — v1.1.2 · QuranEnc.comThe words of the two imams are given in their original Arabic, verbatim, with references.
Shaykh al-Islam Ibn Taymiyyah
فإذا كان بعض الدين لله وبعضه لغير الله وجب القتال حتى يكون الدين كله لله.«مجموع الفتاوى» 28/511What he quoted from others
النبي صلى الله عليه وسلم استشهد به «من قاتل لتكون كلمة الله هي العليا فهو في سبيل الله»«الفتاوى الكبرى لابن تيمية» 5/239