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.
quran:75:39

And made of him two mates, the male and the female.  

and made of it, of the drop of semen that became a blood-clot, then an embryo, a ˹small˺ mass of flesh, the two sexes, the two kinds, the male and the female, at times coming together and at times each being on their own.
القرآن:٧٥:٣٩

فَجَعَلَ مِنْهُ الزَّوْجَيْنِ الذَّكَرَ وَالْأُنْثَىٰ  

{فجعل منه} من المني الذي صار علقة قطعة دم ثم مضغة أي قطعة لحم {الزوجين} النوعين {الذكر والأنثى} يجتمعان تارة وينفرد كل منهما عن الآخر تارة.

See similar narrations below:

Collected by Qurʾān
quran:53:45

And that He creates the two mates - the male and female -  

and that He ˹Himself˺ creates the two spouses, the two kinds, the male and the female,
القرآن:٥٣:٤٥

وَأَنَّهُ خَلَقَ الزَّوْجَيْنِ الذَّكَرَ وَالْأُنْثَىٰ  

{وأنه خلق الزوجين} الصنفين {الذكر والأنثى}.