HAKIM 2701: from ʿAmr b. Shuʿayb from his father from his grandfather —
[Machine] "I came to the Prophet ﷺ and said, 'O Messenger of Allah, can we marry slaves?' He remained silent, and then I recited the verse from the Quran: 'The adulterer does not marry except an adulteress or polytheist, and none marries her except an adulterer or a polytheist. And that has been made unlawful to the believers' (Quran 24:3). So the Messenger of Allah ﷺ read it to me and said, 'Do not marry her.'"

الحاكم ٢٧٠١: عن عمرو بن شعيب عن أبيه عن جده —
فَجِئْتُ إِلَى النَّبِيِّ ﷺ فَقُلْتُ يَا رَسُولَ اللَّهِ أَنْكِحُ عَنَاقَ؟ قَالَ فَسَكَتَ عَنِّي فَنَزَلَتْ {الزَّانِي لَا يَنْكِحُ إِلَّا زَانِيَةً أَوْ مُشْرِكَةً وَالزَّانِيَةُ لَا يَنْكِحُهَا إِلَّا زَانٍ أَوْ مُشْرِكٌ وَحُرِّمَ ذَلِكَ عَلَى الْمُؤْمِنِينَ} [النور 3] فَقَرَأَ عَلَيَّ رَسُولُ اللَّهِ ﷺ وَقَالَ «لَا تَنْكِحْهَا»


Sound (Dhahabī)
Ḥākim > Book of Marriage
hadithunlocked.com