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.
tabarani:9146ʿUmar b. Ḥafṣ al-Sadūsī > ʿĀṣim b. ʿAlī > al-Masʿūdī > ʿAbdullāh b. al-Mukhāriq from his father

[Machine] He said to him: "O Lord, what should I write?" He said: "Write whether he is wretched or happy, male or female, what his provision is, what his impact is, and what his lifespan is." Then Allah ﷻ inspires him with whatever He wills and the angel writes it down. Then Abdullah recited: "Indeed, We created man from a sperm-drop mixture that We may try him." Abdullah said: "The mixture is the veins"  

الطبراني:٩١٤٦حَدَّثَنَا عُمَرُ بْنُ حَفْصٍ السَّدُوسِيُّ ثنا عَاصِمُ بْنُ عَلِيٍّ ثنا الْمَسْعُودِيُّ عَنْ عَبْدِ اللهِ بْنِ الْمُخَارِقِ عَنْ أَبِيهِ قَالَ قَالَ عَبْدُ اللهِ بْنُ مَسْعُودٍ إِذَا حَدَّثْنَاكُمْ بِحَدِيثٍ أَتَيْنَاكُمْ بِتَصْدِيقِ ذَلِكَ مِنْ كِتَابِ اللهِ إِنَّ §النُّطْفَةَ تَكُونُ فِي الرَّحِمِ أَرْبَعِينَ ثُمَّ تَكُونُ عَلَقَةً أَرْبَعِينَ ثُمَّ تَكُونُ مُضْغَةً أَرْبَعِينَ فَإِذَا أَرَادَ اللهُ ﷻ أَنْ يَخْلُقَ الْخَلْقَ نَزَلَ مَلَكٌ فَقَالَ

لَهُ اكْتُبْ فَيَقُولُ يَا رَبِّ مَا أَكْتُبُ؟ فَيَقُولُ اكْتُبْ أَشَقِيٌّ أَمْ سَعِيدٌ أَذَكَرٌ أَمْ أُنْثَى مَا رِزْقُهُ وَمَا أَثَرُهُ وَمَا أَجَلُهُ فَيُوحِي اللهُ ﷻ إِلَيْهِ مَا يَشَاءُ وَيُكْتَبُ الْمَلَكُ ثُمَّ قَرَأَ عَبْدُ اللهِ {إِنَّا خَلَقْنَا الْإِنْسَانَ مِنْ نُطْفَةٍ أَمْشَاجٍ نَبْتَلِيهِ} قَالَ وَقَالَ عَبْدُ اللهِ «الْأَمْشَاجُ الْعُرُوقُ»