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:13859Abū al-Ḥusayn ʿAlī b. Muḥammad b. ʿAbdullāh b. Bishrān > Ismāʿīl b. Muḥammad al-Ṣaffār > Ismāʿīl b. Isḥāq > ʿAlī b. ʿAbdullāh And Musaddad Wa-al-Lafẓ Liʿalī > Muʿtamir b. Sulaymān al-Taymī from his father > al-Ḥaḍramī > al-Qāsim b. Muḥammad > ʿAbdullāh b. ʿAmr > Āmraʾah Kānat Yuqāl

[Machine] She had a mother named Mahzool, and she used to be wealthy and generous. Men would marry her on the condition that she would provide for them financially. A man asked the Prophet ﷺ about marrying her, so the Messenger of Allah ﷺ recited the verse, "The adulterer does not marry anyone except an adulteress or a polytheist." (Quran 24:3) Then As-Saffar informed us, on the authority of Muhammad bin Ghaleb, who reported from Ubaid bin Ubaidah, who reported from Mu'tamir that he mentioned it in his chain of narration that there was a woman named Umm Mahzool who used to marry men on the condition that she would have freedom in matters of sexual immorality and she would provide for their financial support. So some of them asked the Prophet ﷺ for permission to marry her. He then recited this verse to them until its end.  

البيهقي:١٣٨٥٩أَخْبَرَنَا أَبُو الْحُسَيْنِ عَلِيُّ بْنُ مُحَمَّدِ بْنِ عَبْدِ اللهِ بْنِ بِشْرَانَ أنبأ إِسْمَاعِيلُ بْنُ مُحَمَّدٍ الصَّفَّارُ ثنا إِسْمَاعِيلُ بْنُ إِسْحَاقَ ثنا عَلِيُّ بْنُ عَبْدِ اللهِ وَمُسَدَّدٌ وَاللَّفْظُ لِعَلِيٍّ ثنا مُعْتَمِرُ بْنُ سُلَيْمَانَ التَّيْمِيُّ عَنْ أَبِيهِ عَنِ الْحَضْرَمِيِّ عَنِ الْقَاسِمِ بْنِ مُحَمَّدٍ عَنْ عَبْدِ اللهِ بْنِ عَمْرٍو ؓ أَنَّ امْرَأَةً كَانَتْ يُقَالُ

لَهَا أُمُّ مَهْزُولٍ وَكَانَتْ تَكُونُ بِأَجْيَادَ وَكَانَتْ مُسَافِحَةً كَانَ يَتَزَوَّجُهَا الرَّجُلُ وَتَشْتَرِطُ لَهُ أَنْ تَكْفِيَهُ النَّفَقَةَ فَسَأَلَ رَجُلٌ عَنْهَا النَّبِيَّ ﷺ أَيَتَزَوَّجُهَا؟ فَقَرَأَ نَبِيُّ اللهِ ﷺ أَوْ أُنْزِلَتْ عَلَيْهِ الْآيَةُ {الزَّانِي لَا يَنْكِحُ إِلَّا زَانِيَةً أَوْ مُشْرِكَةً} [النور 3] الْآيَةَ 13860 قَالَ وَأنبأ الصَّفَّارُ ثنا مُحَمَّدُ بْنُ غَالِبٍ حَدَّثَنِي عُبَيْدُ بْنُ عُبَيْدَةَ ثنا مُعْتَمِرٌ فَذَكَرَهُ بِإِسْنَادِهِ أَنَّ امْرَأَةً كَانَتْ تُسَمَّى أُمَّ مَهْزُولٍ وَأَنَّهَا كَانَتْ تَتَزَوَّجُ الرَّجُلَ عَلَى أَنْ يَأْذَنَ لَهَا فِي السِّفَاحِ وَتَكْفِيَهُ النَّفَقَةَ فَاسْتَأْذَنَ بَعْضُهُمُ النَّبِيَّ ﷺ أَنْ يَتَزَوَّجَهَا قَالَ فَقَرَأَ رَسُولُ اللهِ ﷺ هَذِهِ الْآيَةَ إِلَى آخِرِهَا