Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:17153Abū al-Ḥasan Muḥammad b. Abū al-Maʿrūf > Abū Sahl Aḥmad b. Muḥammad b. Jumān al-Rāzī > Muḥammad b. Ayyūb > Musaddad > Ḥafṣ > Ashʿath > al-Ḥasan > a man > Lirajul Mā Taʾtī Āmraʾatak Illā Zin or Ḥarām Farafaʿ Dhalik > ʿUmar b. al-Khaṭṭāb > Qadhafanī

[Machine] He threw you with a matter that is beneficial for you, this is clear.  

البيهقي:١٧١٥٣أَخْبَرَنَا أَبُو الْحَسَنِ مُحَمَّدُ بْنُ أَبِي الْمَعْرُوفِ ثنا أَبُو سَهْلٍ أَحْمَدُ بْنُ مُحَمَّدِ بْنِ جُمَانٍ الرَّازِيُّ ثنا مُحَمَّدُ بْنُ أَيُّوبَ أنبأ مُسَدَّدٌ ثنا حَفْصٌ عَنْ أَشْعَثَ عَنِ الْحَسَنِ أَنَّ رَجُلًا قَالَ لِرَجُلٍ مَا تَأْتِي امْرَأَتَكَ إِلَّا زِنًا أَوْ حَرَامًا فَرَفَعَ ذَلِكَ إِلَى عُمَرَ بْنِ الْخَطَّابِ ؓ فَقَالَ قَذَفَنِي فَقَالَ

قَذَفَكَ بِأَمْرِ يَحِلُّ لَكَ هَذَا مُنْقَطِعٌ