2:193
وَقَـٰتِلُوهُمْ حَتَّىٰ لَا تَكُونَ فِتْنَةٌ وَيَكُونَ ٱلدِّينُ لِلَّهِ ۖ فَإِنِ ٱنتَهَوْا۟ فَلَا عُدْوَٰنَ إِلَّا عَلَى ٱلظَّـٰلِمِينَ
waqātilūhum ḥattā lā takūna fit'natun wayakūna l-dīnu lillahi fa-ini intahaw falā ʿud'wāna illā ʿalā l-ẓālimīna
Fight them until there is no more persecution, and worship is devoted to God. If they cease hostilities, there can be no [further] hostility, except towards aggressors.
And fight them until there is no more Fitnah (disbelief and worshipping of others along with Allâh) and (all and every kind of) worship is for Allâh (Alone). But if they cease, let there be no transgression except against Az-Zâlimûn (the polytheists, and wrong-doers)