[Machine] When her waiting period is over, it is permissible for him to take her back even if he divorced her a thousand times. A man came to his wife and divorced her, then he waited until she completed her waiting period. When she was near the end of her waiting period, he took her back and then divorced her again. He said, "By Allah, I will never shelter you (i.e., take you back) or leave you forever." At that point, Allah revealed the verse, "Divorce is twice. Then, either keep [her] in an acceptable manner or release [her] with good treatment" (Quran 2:229). From that moment, people started regarding divorce differently. If a person divorced or did not divorce his wife, this information could be verified. This is stated by Al-Bukhari and others.
أَنْ تَنْقَضِيَ عِدَّتُهَا كَانَ ذَلِكَ لَهُ وَإِنْ طَلَّقَهَا أَلْفَ مَرَّةٍ فَعَمَدَ رَجُلٌ إِلَى امْرَأَةٍ لَهُ فَطَلَّقَهَا ثُمَّ أَمْهَلَهَا حَتَّى إِذَا شَارَفَتِ انْقِضَاءَ عِدَّتِهَا ارْتَجَعَهَا ثُمَّ طَلَّقَهَا وَقَالَ وَاللهِ لَا أُؤْوِيكِ إِلِيَّ وَلَا تَخْلِينَ أَبَدًا فَأَنْزَلَ اللهُ تَبَارَكَ وَتَعَالَى {الطَّلَاقُ مَرَّتَانِ فَإِمْسَاكٌ بِمَعْرُوفٍ أَوْ تَسْرِيحٌ بِإِحْسَانٍ} [البقرة 229] فَاسْتَقْبَلَ النَّاسُ الطَّلَاقَ جَدِيدًا مِنْ يَوْمِئِذٍ مَنْ كَانَ مِنْهُمْ طَلَّقَ أَوْ لَمْ يُطَلِّقْ هَذَا مُرْسَلٌ وَهُوَ الصَّحِيحُ قَالَهُ الْبُخَارِيُّ وَغَيْرُهُ