Sayyiduna Hudhayfah bin Asid Ghifari (may Allah be pleased with him) narrates: The Noble Prophet (peace and blessings be upon him) said: "When the drop of fluid remains in the womb for forty days (the narrator is in doubt, perhaps the words are) forty-five days, then an angel comes to it. He asks: O my Lord! Is it wretched or blessed? Is it male or female? So whatever answer Allah Almighty gives, both matters are recorded. Then the deeds of that person, his sustenance, the end of his lifespan, the remaining things for him, and the matters that will befall him are all recorded. Then this scroll is folded up; there is no addition or subtraction in it." Sometimes the narrator named Sufyan would narrate these words: "This remains so until the Day of Resurrection," however, sometimes he would not mention these words.
Hadith Referenceمسند الحميدي / 848
Hadith Gradingمحدثین:إسناده صحيح
Hadith Takhrij«إسناده صحيح وأخرجه مسلم فى «صحيحه» برقم: 2644، 2645، 2645 وابن حبان فى «صحيحه» برقم: 6177، والبيهقي فى«سننه الكبير» برقم: 15521، وأحمد فى «مسنده» ، برقم: 16392»