Abdullah bin Umar reported,

Someone asked, "Abu Abdul-Rahman, regarding the Mutalaineen, are they separated from one another?"He replied, "Yes. Glory be to Allah. The first person to ask about this matter was so-and-so, son of so-and-so. He said, 'Messenger of Allah, tell me'" — and Amr did not say "Tell me about" — "'if a man among us sees his wife committing immorality, what is he to do? If he speaks of it, he speaks of a tremendous matter,'" and Amr said, "'he commits a tremendous matter, and if he keeps silent, he keeps silent over the like of it.' The Prophet did not answer him.Sometime later, the man came back to him and said, 'The matter I asked you about has now befallen me.' So Allah عز وجل revealed these verses of Surah an-Nur, "And those who accuse their wives" until His statement, "and the fifth oath shall be that the wrath of Allah be upon her if he is among the truthful" [Nur 24:6–9].He began with the man, admonishing him, reminding him, and informing him that the punishment of this world is lighter than the punishment of the Hereafter. The man said, 'By the One who sent you with the truth, I have not lied.' Then he turned to the woman, admonishing her and reminding her. She said, 'By the One who sent you with the truth, he is indeed a liar.'So he began with the man, who bore witness four times by Allah that he was among the truthful, and the fifth time that the curse of Allah be upon him if he were among the liars. Then he turned to the woman, who bore witness four times by Allah that he was among the liars, and the fifth time that the wrath of Allah be upon her if he were among the truthful. Then he separated the two of them."

Nasai 3503

Sahih

أخبرنا عمرو بن علي ومحمد بن المثنى قالا حدثنا يحيى بن سعيد قال حدثنا عبد الملك بن أبي سليمان قال سمعت سعيد بن جبير يقول سئلت عن المتلاعنين في إمارة ابن الزبير أيفرق بينهما فما دريت ما أقول فقمت من مقامي إلى منزل

ابن عمر فقلت

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

النسائي 3503صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Divorce
Chapter
Admonition of the imam to the man and woman during lian
Numbering
Darussalam 3503
Nasai 3503