Sure Al-Baqara

2:232

وَإِذَا طَلَّقْتُمُ ٱلنِّسَآءَ فَبَلَغْنَ أَجَلَهُنَّ فَلَا تَعْضُلُوهُنَّ أَن يَنكِحْنَ أَزْوَٰجَهُنَّ إِذَا تَرَٰضَوْا۟ بَيْنَهُم بِٱلْمَعْرُوفِ ۗ ذَٰلِكَ يُوعَظُ بِهِۦ مَن كَانَ مِنكُمْ يُؤْمِنُ بِٱللَّهِ وَٱلْيَوْمِ ٱلْءَاخِرِ ۗ ذَٰلِكُمْ أَزْكَىٰ لَكُمْ وَأَطْهَرُ ۗ وَٱللَّهُ يَعْلَمُ وَأَنتُمْ لَا تَعْلَمُونَ

Und wenn ihr euch von Frauen scheidet und sie dann ihre festgesetzte Zeit erreicht haben, so haltet sie nicht davon ab, ihre Gatten zu heiraten, wenn sie sich in rechtlicher Weise miteinander geeinigt haben. Damit wird von euch ermahnt, wer an Allah und den Jüngsten Tag glaubt. Das ist lauterer für euch und reiner. Allah weiß, ihr aber wißt nicht.

Tafsir 2:232

When you divorce women less than three times and their waiting period ends, do not stop them from returning to their husbands with a new marriage contract if they wish to do so and they agree with their husbands. This law prohibiting them from being prevented is a piece of advice for that person who has faith in Allah and the Last Day. If you obey, this will bring greater good to you, and keep your honour and actions free of impurities. Allah knows the reality and outcome of matters, whereas you do not.