Sure Al-Baqara

2:279

فَإِن لَّمْ تَفْعَلُوا۟ فَأْذَنُوا۟ بِحَرْبٍۢ مِّنَ ٱللَّهِ وَرَسُولِهِۦ ۖ وَإِن تُبْتُمْ فَلَكُمْ رُءُوسُ أَمْوَٰلِكُمْ لَا تَظْلِمُونَ وَلَا تُظْلَمُونَ

Wenn ihr es aber nicht tut, dann laßt euch Krieg von Allah und Seinem Gesandten ansagen! Doch wenn ihr bereut, dann steht euch euer (ausgeliehenes) Grundvermögen zu; (so) tut weder ihr Unrecht, noch wird euch Unrecht zugefügt.

Tafsir 2:279

If you do not obey the sacred law, then be aware and certain of war with Allah and His Messenger. If you repent to Allah and leave usury, then you can keep the initial amount that you had given as a loan from your capital, in a manner that does not wrong anyone by taking more than your initial capital and does not wrong you by making you receive less than it.