Abdullah bin Masud reported,

The Messenger of Allah ﷺ said, "The drop of fluid remains in the womb for forty days without change. When the forty days have passed, it becomes a clinging clot, then a lump of flesh in the same manner, then bones in the same manner. When Allah wishes to complete its creation, He sends an angel to it, and the angel in attendance says, 'My Lord, male or female? Wretched or blessed? Short or tall? Deficient or complete? What of its strength and its lifespan? Healthy or sickly?' All of this is then written down."A man from the people asked, "Then what is the point of action, when all of this has already been decided?"He replied, "Act, for everyone will be guided toward that for which he was created."

Ahmad 3553

Daif

حدثنا هشيم أنبأنا علي بن زيد قال سمعت أبا عبيدة بن عبد الله يحدث قال

قال عبد الله

قال رسول الله ﷺ إن النطفة تكون في الرحم أربعين يوما على حالها لا تغير فإذا مضت الأربعون صارت علقة ثم مضغة كذلك ثم عظاما كذلك فإذا أراد الله أن يسوي خلقه بعث إليها ملكا فيقول الملك الذي يليه أي رب أذكر أم أنثى أشقي أم سعيد أقصير أم طويل أناقص أم زائد قوته وأجله أصحيح أم سقيم قال فيكتب ذلك كله فقال رجل من القوم ففيم العمل إذن وقد فرغ من هذا كله قال اعملوا فكل سيوجه لما خلق له

أحمد 3553ضعيف
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Masud
Numbering
Darussalam 3553
Ahmad 3553