The Prophet ﷺ said, "The angel comes to the drop of fluid after it settles in the womb for forty or forty-five nights and asks, 'My Lord, wretched or blessed?' So both are written down. Then he asks, 'My Lord, male or female?' So both are written down. His deeds, his impact, his lifespan, and his provision are also written. Then the pages are folded up, and nothing is added to them nor taken away."
يبلغ به النبي ﷺ قال: يدخل الملك على النطفة بعدما تستقر في الرحم بأربعين، أو خمسة وأربعين ليلة، فيقول: يا رب أشقي أو سعيد؟ فيكتبان، فيقول: أي رب! أذكر أو أنثى؟ فيكتبان. ويكتب عمله وأثره وأجله ورزقه، ثم تطوى الصحف، فلا يزاد فيها ولا ينقص.