Fight until no more unbelief

They ask you about fighting in the sacred month. Say, ‘Fighting in it is a grave matter, but hindering people from Allah’s path, denying Him, preventing access to the Sacred Mosque, and expelling its people from it, these are far worse in Allah’s sight. Persecution is worse than killing. They will not stop fighting you until they turn you away from your faith if they can. And whoever turns away from their faith and dies in disbelief, their deeds will be worthless in this world and the Hereafter.

2:217They question thee (O Muhammad) with regard to warfare in the sacred month. Say: Warfare therein is a great (transgression), but to turn (men) from the way of Allah, and to disbelieve in Him and in the Inviolable Place of Worship, and to expel His people thence, is a greater with Allah; for persecution is worse than killing. And they will not cease from fighting against you till they have made you renegades from your religion, if they can. And whoso becometh a renegade and dieth in his disbelief: such are they whose works have fallen both in the world and the Hereafter. Such are rightful owners of the Fire: they will abide therein.