Sure Al-Baqara

2:280

وَإِن كَانَ ذُو عُسْرَةٍۢ فَنَظِرَةٌ إِلَىٰ مَيْسَرَةٍۢ ۚ وَأَن تَصَدَّقُوا۟ خَيْرٌۭ لَّكُمْ ۖ إِن كُنتُمْ تَعْلَمُونَ

Und wenn er (der Schuldner) in Schwierigkeiten ist, dann sei (ihm) Aufschub (gewährt,) bis eine Erleichterung (eintritt). Und daß ihr (es) als Almosen erlaßt, ist besser für euch, wenn ihr (es) nur wißt.

Tafsir 2:280

If the person from whom you demand your debt is in hard times and is unable to repay the debt, then refrain from asking until he is able to obtain money and then pay the debt. And to give charity to him by not demanding the debt or giving up a part of it is better for you, if you knew its worth in the sight of Allah.