Fight them until there is no [more] fitnah and [until] religion [i.e., worship] is [acknowledged to be] for Allāh. But if they cease, then there is to be no aggression [i.e., assault] except against the oppressors.
Fight the disbelievers until they do not prevent people from Allah’s path and there is no disbelief, and until the dominant way of life is the path of Allah. But if they stop their disbelief and stop preventing others from the path of Allah, then stop fighting them. There is to be no aggression except against those who oppress, through disbelief and by preventing people from the path of Allah.