Narrated `Abdullah:Allah's Messenger (ﷺ), the true and truly inspired said, "(as regards your creation), every one of you is collected in the womb of his mother for the first forty days, and then he becomes a clot for another forty days, and then a piece of flesh for another forty days. Then Allah sends an angel to write four items: He writes his deeds, time of his death, means of his livelihood, and whether he will be wretched or blessed (in religion). Then the soul is breathed into his body. So a man may do deeds characteristic of the people of the (Hell) Fire, so much so that there is only the distance of a cubit between him and it, and then what has been written (by the angel)…
Opening the passage...
“Read in the name of your Lord who created.” 96:1
“My Lord, increase me in knowledge.” 20:114
“So remember Me; I will remember you.” 2:152
“Indeed, with hardship comes ease.” 94:6