Surah Al-Ma'idah 5:34
إِلَّا ٱلَّذِينَ تَابُوا۟ مِن قَبْلِ أَن تَقْدِرُوا۟ عَلَيْهِمْ ۖ فَٱعْلَمُوٓا۟ أَنَّ ٱللَّهَ غَفُورٌ رَّحِيمٌ
Except for those who return [repenting] before you overcome [i.e., apprehend] them. And know that Allāh is Forgiving and Merciful.
Translation: Saheeh International
Tafsir
Except for such warmongers and waylayers as repent before you overpower them; for know that God is Forgiving to them of what they have done Merciful to them. This proviso is expressed without any statement to the effect ‘do not submit them to prescribed legal punishment’ to point out that when such a person repents …
Excerpt from Tafsir al-Jalalayn, commentary on 5:34, via Quran.com. The reader has the full commentary and 9 more tafsirs.