Sahih al-Bukhari
Sahih al-Bukhari 318
حَدَّثَنَا مُسَدَّدٌ، قَالَ حَدَّثَنَا حَمَّادٌ، عَنْ عُبَيْدِ اللَّهِ بْنِ أَبِي بَكْرٍ، عَنْ أَنَسِ بْنِ مَالِكٍ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " إِنَّ اللَّهَ ـ عَزَّ وَجَلَّ ـ وَكَّلَ بِالرَّحِمِ مَلَكًا يَقُولُ يَا رَبِّ نُطْفَةٌ، يَا رَبِّ عَلَقَةٌ، يَا رَبِّ مُضْغَةٌ. فَإِذَا أَرَادَ أَنْ يَقْضِيَ خَلْقَهُ قَالَ أَذَكَرٌ أَمْ أُنْثَى شَقِيٌّ أَمْ سَعِيدٌ فَمَا الرِّزْقُ وَالأَجَلُ فَيُكْتَبُ فِي بَطْنِ أُمِّهِ ".
Musaddad narrated to us: Hammad narrated to us, from Ubayd Allah ibn Abi Bakr, from Anas ibn Malik, from the Prophet, who said: ‘Allah, the Almighty, has assigned an angel to the womb. The angel says, “My Lord, a drop of fluid; my Lord, a clinging substance; my Lord, a lump of flesh.” When He intends to complete its creation, He asks: “Male or female? Wretched or blessed? What provision and lifespan?” Then these are written while it is in its mother’s womb.’