Surah Al-Baqarah, ayah 230

2:230

فَإِن طَلَّقَهَا فَلَا تَحِلُّ لَهُۥ مِنۢ بَعۡدُ حَتَّىٰ تَنكِحَ زَوۡجًا غَيۡرَهُۥۗ فَإِن طَلَّقَهَا فَلَا جُنَاحَ عَلَيۡهِمَآ أَن يَتَرَاجَعَآ إِن ظَنَّآ أَن يُقِيمَا حُدُودَ ٱللَّهِۗ وَتِلۡكَ حُدُودُ ٱللَّهِ يُبَيِّنُهَا لِقَوۡمٖ يَعۡلَمُونَ ٢٣٠

Fa in tallaqahā falā tahillu lahū mim ba'du hattā tankiha zawjan ghayrahū fa in tallaqahā falā junāha 'alayhimā an yatarāja'ā in zannā an yuqīmā hudūdallāhi watilka hudūdullāhi yubayyinuhā liqawmin ya'lamūn

And if he has divorced her [for the third time], then she is not lawful to him afterward until [after] she marries a husband other than him.90 And if he [i.e., the latter husband] divorces her [or dies], there is no blame upon them [i.e., the woman and her former husband] for returning to each other if they think that they can keep [within] the limits of Allāh. These are the limits of Allāh, which He makes clear to a people who know [i.e.,understand].

Footnotes

90 With the intention of permanence, not merely in order to return to the previous husband.