I said to Ibn ʿUmar, "If a man accuses his wife of illegal sexual intercourse (what is the judgment)?" He said, "Allah's Prophet separated the couple of Bani 'Ajlan (when the husband accused his wife for an illegal sexual intercourse). The Prophet ﷺ said, 'Allah knows that one of you two IS a liar; so will one of you repent?' But they refused. He then again said, 'Allah knows that one of you two is a liar; so will one of you repent?' But they refused, whereupon he separated them by divorce." Aiyub (a subnarrator) said: ʿAmr bin Dinar said to me, "In the narration there is something which I do not see you mentioning, i.e. the husband said, "What about my money (Mahr)?' The Prophet ﷺ said, "You are not entitled to take back money, for if you told the truth you have already entered upon her (and consummated your marriage with her) and if you are a liar then you are less entitled to take it back. (Using translation from Bukhārī 5349)
فَرَّقَ نَبِيُّ اللهِ ﷺ بَيْنَ أَخَوَيْ بَنِي الْعَجْلَانِ ثُمَّ قَالَ «وَاللهُ أَعْلَمُ إِنَّ أَحَدَكُمَا كَاذِبٌ فَهَلْ مِنْكُمَا تَائِبٌ» قَالَهَا ثَلَاثًا فَأَبَيَا فَفَرَّقَ بَيْنَهُمَا قَالَ أَيُّوبُ وَقَالَ لِي عَمْرُو بْنُ دِينَارٍ إِنَّ فِي هَذَا الْحَدِيثِ شَيْئًا لَا أَرَاكَ تُحَدِّثُ بِهِ قَالَ قَالَ الرَّجُلُ مَالِي قَالَ لَا مَالَ لَكَ إِنْ كُنْتَ صَادِقًا فَقَدْ دَخَلْتَ بِهَا وَإِنْ كُنْتَ كَاذِبًا فَهِيَ أَبَعْدُ مِنْكَ