[Machine] A man came to the Messenger of Allah ﷺ and said, "O Messenger of Allah, what do you think about a man who sees his wife with another man; should he kill him and then be killed, or what should he do?" So Allah ﷻ revealed regarding them what is mentioned in the Qur'an about the cursing. The Messenger of Allah ﷺ said to him, "The matter has been decided regarding you and your wife." He said, "We cursed each other while I was present with the Messenger of Allah ﷺ." He said, "O Messenger of Allah, if I were to keep her, then I would have lied about her. So I separated from her and the practice (Sunnah) among them was that they would be separated between the two who cursed each other. And she was pregnant, so he denied her pregnancy. The practice after that regarding inheritance was that she could inherit from him what Allah had ordained for her."
أَنَّ رَجُلًا أَتَى رَسُولَ اللهِ ﷺ فَقَالَ يَا رَسُولَ اللهِ أَرَأَيْتَ رَجُلًا رَأَى مَعَ امْرَأَتِهِ رَجُلًا أَيَقْتُلُهُ فَتَقْتُلُونَهُ بِهِ أَمْ كَيْفَ يَفْعَلُ بِهِ؟ فَأَنْزَلَ اللهُ ﷻ فِيهِمَا مَا ذُكِرَ فِي الْقُرْآنِ مِنَ التَّلَاعُنِ فَقَالَ لَهُ رَسُولُ اللهِ ﷺ «قَدْ قُضِيَ فِيكَ وَفِي امْرَأَتِكَ» قَالَ فَتَلَاعَنَا وَأَنَا شَاهِدٌ عِنْدَ رَسُولِ اللهِ ﷺ فَقَالَ يَا رَسُولَ اللهِ إِنْ أَمْسَكْتُهَا فَقَدْ كَذَبْتُ عَلَيْهَا فَفَارَقَهَا فَجَرَتِ السُّنَّةُ بَعْدُ فِيهِمَا أَنْ يُفَرَّقَ بَيْنَ الْمُتَلَاعِنَيْنِ وَكَانَتْ حَامِلًا فَأَنْكَرَ حَمْلَهَا وَكَانَ يُدْعَى إِلَيْهَا وَجَرَتِ السُّنَّةُ بَعْدُ فِي الْمِيرَاثِ أَنْ يَرِثَهَا فَتَرِثَ مِنْهُ مَا فَرَضَ اللهُ لَهَا