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:39:6

He created you from one soul. Then He made from it its mate, and He produced for you from the grazing livestock eight mates. He creates you in the wombs of your mothers, creation after creation, within three darknesses. That is Allah, your Lord; to Him belongs dominion. There is no deity except Him, so how are you averted?  

He created you from a single soul, namely, Adam, then made from it its mate, Eve; and He sent down for you of the cattle, ˹of˺ camels, cows, small cattle, sheep and goats, eight kinds, of each kind a male and a female — as He makes clear in sūrat al-An‘ām ˹Q. 6:143f.˺. He creates you in your mothers’ wombs, creation after creation, that is to say, as a sperm-drop, then a blood clot, then a foetus, in a threefold darkness, that is, the darkness of the belly, that of the womb and that of the placenta. That is God, your Lord. To Him belongs ˹all˺ sovereignty. There is no god except Him. Why then are you being turned away?, from worshipping Him to worshipping ˹things˺ other than Him?
القرآن:٣٩:٦

خَلَقَكُمْ مِنْ نَفْسٍ وَاحِدَةٍ ثُمَّ جَعَلَ مِنْهَا زَوْجَهَا وَأَنْزَلَ لَكُمْ مِنَ الْأَنْعَامِ ثَمَانِيَةَ أَزْوَاجٍ ۚ يَخْلُقُكُمْ فِي بُطُونِ أُمَّهَاتِكُمْ خَلْقًا مِنْ بَعْدِ خَلْقٍ فِي ظُلُمَاتٍ ثَلَاثٍ ۚ ذَٰلِكُمُ اللَّهُ رَبُّكُمْ لَهُ الْمُلْكُ ۖ لَا إِلَٰهَ إِلَّا هُوَ ۖ فَأَنَّىٰ تُصْرَفُونَ  

{خلقكم من نفس واحدة} أي آدم {ثم جعل منها زوجها} حواء {وأنزل لكم من الأنعام} الإبل والبقر والغنم الضأن والمعز {ثمانية أزواج} من كلٍ زوجان ذكر وأنثى كما بيّن في سورة الأنعام {يخلقكم في بطون أمهاتكم خلقا من بعد خلق} أي نطفا ثم علقا ثم مضغا {في ظلمات ثلاث} هي ظلمة البطن وظلمة الرحم وظلمة المشيمة {ذلكم الله ربكم له الملك لا إله هو فأنَّى تصرفون} عن عبادته إلى عبادة غيره.