Sahih al-Bukhari 4746
Narrated Sahl bin Sa`d:
A man came to Allah's Messenger (ﷺ) and said, "O Allah's Messenger (ﷺ)! Suppose a man saw another man with 
his wife, should he kill him whereupon you might kill him (i.e. the killer) (in Qisas) or what should he 
do?" So Allah revealed concerning their case what is mentioned of the order of Mula'ana. Allah's 
Apostle said to the man, "The matter between you and your wife has been decided." So they did 
Mula'ana in the presence of Allah's Messenger (ﷺ) and I was present there, and then the man divorced his 
wife. So it became a tradition to dissolve the marriage of those spouses who were involved in a case of 
Mula'ana. The woman was pregnant and the husband denied that he was the cause of her pregnancy, 
so the son was (later) ascribed to her. Then it became a tradition that such a son would be the heir of 
his mother, and she would inherit of him what Allah prescribed for her.
حَدَّثَنِي سُلَيْمَانُ بْنُ دَاوُدَ أَبُو الرَّبِيعِ، حَدَّثَنَا فُلَيْحٌ، عَنِ الزُّهْرِيِّ، عَنْ سَهْلِ بْنِ سَعْدٍ، أَنَّ رَجُلاً، أَتَى رَسُولَ اللَّهِ صلى الله عليه وسلم فَقَالَ يَا رَسُولَ اللَّهِ، أَرَأَيْتَ رَجُلاً رَأَى مَعَ امْرَأَتِهِ رَجُلاً أَيَقْتُلُهُ فَتَقْتُلُونَهُ أَمْ كَيْفَ يَفْعَلُ فَأَنْزَلَ اللَّهُ فِيهِمَا مَا ذُكِرَ فِي الْقُرْآنِ مِنَ التَّلاَعُنِ، فَقَالَ لَهُ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏
"‏ قَدْ قُضِيَ فِيكَ وَفِي امْرَأَتِكَ ‏"‏‏.‏ قَالَ فَتَلاَعَنَا، وَأَنَا شَاهِدٌ عِنْدَ رَسُولِ اللَّهِ صلى الله عليه وسلم فَفَارَقَهَا فَكَانَتْ سُنَّةً أَنْ يُفَرَّقَ بَيْنَ الْمُتَلاَعِنَيْنِ وَكَانَتْ حَامِلاً، فَأَنْكَرَ حَمْلَهَا وَكَانَ ابْنُهَا يُدْعَى إِلَيْهَا، ثُمَّ جَرَتِ السُّنَّةُ فِي الْمِيرَاثِ أَنْ يَرِثَهَا، وَتَرِثَ مِنْهُ مَا فَرَضَ اللَّهُ لَهَا‏.‏