Al-Baqara • EN-TAFSIR-IBN-ABBAS
﴿ وَقَٰتِلُوهُمْ حَتَّىٰ لَا تَكُونَ فِتْنَةٌۭ وَيَكُونَ ٱلدِّينُ لِلَّهِ ۖ فَإِنِ ٱنتَهَوْا۟ فَلَا عُدْوَٰنَ إِلَّا عَلَى ٱلظَّٰلِمِينَ ﴾
“Hence, fight against them until there is no more oppression and all worship is devoted to God alone; but if they desist, then all hostility shall cease, save against those who [wilfully] do wrong.”
(And fight them) if they initiate fighting against you whether you are in the Sacred Precinct or not (until persecution is no more) until there is not association of partners with Allah in the Sacred Precinct, (and religion is for Allah) and Islam and worship of Allah reign in the Sacred Precinct. (If they desist) from fighting you in the Sacred Precinct, (then let there be no hostility) you are not allowed to kill them (except against wrong-doers) except those who start the fight against you.