وَقٰتِلُوۡهُمۡ حَتّٰى لَا تَكُوۡنَ فِتۡنَةٌ وَّيَكُوۡنَ الدِّيۡنُ لِلّٰهِؕ فَاِنِ انتَهَوۡا فَلَا عُدۡوَانَ اِلَّا عَلَى الظّٰلِمِيۡنَ
And keep fighting against them until the disruption and mischief is totally eliminated and Din (the complete system of life and submission) practically becomes subservient to Allah aloneBut if they desist, then offensive action is not permissible except against the wrongdoers.