Surah Al-Anfaal

8:39

وَقَٰتِلُوهُمْ حَتَّىٰ لَا تَكُونَ فِتْنَةٌۭ وَيَكُونَ ٱلدِّينُ كُلُّهُۥ لِلَّهِ ۚ فَإِنِ ٱنتَهَوْا۟ فَإِنَّ ٱللَّهَ بِمَا يَعْمَلُونَ بَصِيرٌۭ

Dan perangilah mereka sehingga tidak ada lagi fitnah, dan (sehingga) menjadilah ugama itu seluruhnya (bebas) bagi Allah semata-mata. Kemudian jika mereka berhenti (dari kekufurannya dan gangguannya, nescaya mereka diberikan balasan yang baik) kerana sesungguhnya Allah Maha Melihat akan apa yang mereka kerjakan.

Tafsir 8:39

O believers, fight your disbelieving enemies until there is no more idolatry or Muslims being stopped from Allah’s religion, when religion and obedience is for Allah alone without any partner being put alongside Him. If the disbelievers stop their idolatry and preventing Muslims from Allah’s religion, then leave them, because Allah sees what they do and nothing is hidden from Him.