Al-Baqarah 2:279
فَإِن لَّمْ تَفْعَلُوا۟ فَأْذَنُوا۟ بِحَرْبٍ مِّنَ ٱللَّهِ وَرَسُولِهِۦ ۖ وَإِن تُبْتُمْ فَلَكُمْ رُءُوسُ أَمْوَٰلِكُمْ لَا تَظْلِمُونَ وَلَا تُظْلَمُونَ
Fa-in lam tafAAaloo fa/thanoo biharbinmina Allahi warasoolihi wa-in tubtum falakum ruoosu amwalikumla tathlimoona wala tuthlamoon
And if you do not, then be informed of a war [against you] from Allāh and His Messenger. But if you repent, you may have your principal - [thus] you do no wrong, nor are you wronged.
But if you do not (give it up), then listen to the declaration of war from Allah and His Messenger. However, If you repent, yours is your principal. Neither wrong, nor be wronged.