(17) CHAPTER. “(A little lump of flesh) some formed and some unformed.” (V .22:5)
318. Narrated Anas bin Malik : The Prophet, peace be upon him, said, “At every womb Allah appoints an angel who says, O Lord! A drop of semen, O Lord! A clot. O Lord! A little lump of flesh.’
Then if Allah wishes (to complete) its creation, the angel asks,(O Lord!) : (A) Will it be a male or female, (B) a wretched or a blessed, (C) and how much will his provision be? (D) And what will his age be?’ So all that [A,B,C,D] is written while the child is still in the mother’s womb.”