Surah Al-Baqara

2:192

فَإِنِ ٱنتَهَوْا۟ فَإِنَّ ٱللَّهَ غَفُورٌۭ رَّحِيمٌۭ

And if they cease, then indeed, Allah is Forgiving and Merciful.

Tafsir 2:192

If these aggressive disbelievers stop fighting you and stop disbelieving, then stop fighting them. Allah Forgiving to whomever repents to Him with regret, asking for forgiveness, and does not hold them to account for the disobedience they did before. He is Compassionate with them and not quick to punish.