Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:2:232

And when you divorce women and they have fulfilled their term, do not prevent them from remarrying their ˹former˺ husbands if they agree among themselves on an acceptable basis. That is instructed to whoever of you believes in Allah and the Last Day. That is better for you and purer, and Allah knows and you know not.  

When you divorce women, and they have reached, completed, their term, of waiting, do not debar them — addressing the guardians here — from marrying their, divorced, husbands when they, the male spouses and their women, have agreed together honourably, in accordance with the Law. The occasion for the revelation ˹of this verse˺ was: Ma‘qil b. Yasār’s sister was divorced by her husband, who then wanted to restore her, but Ma‘qil refused, as reported by al-Hākim. That, the prohibition against debarring, is an admonition for whoever of you believe in God and the Last Day, because it is for the benefit of such a person; that, refraining from debarring, is purer for you, better, and cleaner, for you and for them, bearing in mind the suspicion that can be aroused by the couple on account of prior intimacy. God knows, what is in your interest, and you know not, any of this, so follow His commands.
القرآن:٢:٢٣٢

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

{وإذا طلقتم النساء فبلغن أجلهن} انقضت عدتهن {فلا تعضلوهن} خطاب للأولياء أي تمنعوهن من {أن ينكحن أزواجهن} المطلقين لهن لأن سبب نزولها أن أخت معقل بن يسار طلقها زوجها فأراد أن يراجعها فمنعها معقل بن يسار كما رواه الحاكم {إذا تراضوا} أي الأزواج والنساء {بينهم بالمعروف} شرعا {ذلك} النهي عن العضل {يوعظ به من كان منكم يؤمن بالله واليوم الآخر} لأنه المنتفع به {ذلكم} أي ترك العضل {أزكى} خير {لكم وأطهر} لكم ولهم لما يُخشى على الزوجين من الريبة بسبب العلاقة بينهما {والله يعلم} ما فيه المصلحة {وأنتم لا تعلمون} ذلك فاتَّبعوا أوامره.

See similar narrations below:

Collected by Ḥākim, Ṭabarānī
hakim:3107Aḥmad b. Jaʿfar al-Qaṭīʿī > ʿAbdullāh b. Aḥmad b. Ḥanbal > Abū > Wakīʿ > al-Faḍl b. Dalham > al-Ḥasan > Maʿqil b. Yasār > Ukhtah Ṭallaqahā Zawjuhā Faʾarād > Yurājiʿahā

[Machine] To return her, but if he prevents her, a place of refuge has been set up for her. And Allah the Exalted says, "And when you divorce women and they have fulfilled their term, do not prevent them from remarrying their [former] husbands if they agree among themselves on an acceptable basis." [Al-Baqarah 2:232]  

الحاكم:٣١٠٧أَخْبَرَنَا أَحْمَدُ بْنُ جَعْفَرٍ الْقَطِيعِيُّ ثنا عَبْدُ اللَّهِ بْنُ أَحْمَدَ بْنِ حَنْبَلٍ حَدَّثَنِي أَبِي أَنْبَأَ وَكِيعٌ ثنا الْفَضْلُ بْنُ دَلْهَمٍ عَنِ الْحَسَنِ عَنْ مَعْقِلِ بْنِ يَسَارٍ أَنَّ أُخْتَهُ طَلَّقَهَا زَوْجُهَا فَأَرَادَ

أَنْ يُرَاجِعَهَا فَمَنَعَهَا مَعْقِلٌ فَأَنْزَلَ اللَّهُ تَعَالَى {وَإِذَا طَلَّقْتُمُ النِّسَاءَ فَبَلَغْنَ أَجَلَهُنَّ فَلَا تَعْضُلُوهُنَّ أَنْ يَنْكِحْنَ أَزْوَاجَهُنَّ إِذَا تَرَاضَوْا بَيْنَهُمْ بِالْمَعْرُوفِ} [البقرة 232]  

«هَذَا حَدِيثٌ صَحِيحُ الْإِسْنَادِ وَلَمْ يُخَرِّجَاهُ» الفضل بن دلهم ضعفه ابن معين وقواه غيره
tabarani:17673Mūsá b. Hārūn > Yaḥyá al-Ḥimmānī > Wakīʿ > al-Faḍl b. Dalham > al-Ḥasan > Maʿqil b. Yasār > Ukhtah Ṭallaqahā Zawjuhā Faʾarād

[Machine] "That he should take her back, but if he prevents her, then Allah reveals in it (quranic verse): "And when you divorce women and they have fulfilled their term, do not prevent them from remarrying their [former] husbands if they agree among themselves on an acceptable basis"  

الطبراني:١٧٦٧٣حَدَّثَنَا مُوسَى بْنُ هَارُونَ ثنا يَحْيَى الْحِمَّانِيُّ ثنا وَكِيعٌ عَنِ الْفَضْلِ بْنِ دَلْهَمٍ عَنِ الْحَسَنِ عَنْ مَعْقِلِ بْنِ يَسَارٍ أَنَّ أُخْتَهُ طَلَّقَهَا زَوْجُهَا فَأَرَادَ

أَنْ يُرَاجِعَهَا فَمَنَعَهَا مَعْقِلٌ فَأَنْزَلَ اللهُ ﷻ فِي ذَلِكَ {وَإِذَا طَلَّقْتُمُ النِّسَاءَ فَبَلَغْنَ أَجَلَهُنَّ فَلَا تَعْضُلُوهُنَّ أَنْ يَنْكِحْنَ أَزْوَاجَهُنَّ إِذَا تَرَاضَوْا بَيْنَهُمْ بِالْمَعْرُوفِ}