Hadithcore
Sahih al-Bukhari, 3208
sahih

Narrated `Abdullah bin Mus'ud:

Allah's Messenger (ﷺ) , the true and truly inspired said, "(The matter of the Creation of) a human being is put together in the womb of the mother in forty days, and then he becomes a clot of thick blood for a similar period, and then a piece of flesh for a similar period. Then Allah sends an angel who is ordered to write four things. He is ordered to write down his (i.e. the new creature's) deeds, his livelihood, his (date of) death, and whether he will be blessed or wretched (in religion). Then the soul is breathed into him. So, a man amongst you may do (good deeds till there is only a cubit between him and Paradise and then what has been written for him decides his behavior and he starts doing (evil) deeds characteristic of the people of the (Hell) Fire. And similarly a man amongst you may do (evil) deeds till there is only a cubit between him and the (Hell) Fire, and then what has been written for him decides his behavior, and he starts doing deeds characteristic of the people of Paradise."

حَدَّثَنَا الْحَسَنُ بْنُ الرَّبِيعِ، حَدَّثَنَا أَبُو الأَحْوَصِ، عَنِ الأَعْمَشِ، عَنْ زَيْدِ بْنِ وَهْبٍ، قَالَ عَبْدُ اللَّهِ حَدَّثَنَا رَسُولُ اللَّهِ صلى الله عليه وسلم وَهْوَ الصَّادِقُ الْمَصْدُوقُ قَالَ ‏

‏ إِنَّ أَحَدَكُمْ يُجْمَعُ خَلْقُهُ فِي بَطْنِ أُمِّهِ أَرْبَعِينَ يَوْمًا، ثُمَّ يَكُونُ عَلَقَةً مِثْلَ ذَلِكَ، ثُمَّ يَكُونُ مُضْغَةً مِثْلَ ذَلِكَ، ثُمَّ يَبْعَثُ اللَّهُ مَلَكًا، فَيُؤْمَرُ بِأَرْبَعِ كَلِمَاتٍ، وَيُقَالُ لَهُ اكْتُبْ عَمَلَهُ وَرِزْقَهُ وَأَجَلَهُ وَشَقِيٌّ أَوْ سَعِيدٌ‏.‏ ثُمَّ يُنْفَخُ فِيهِ الرُّوحُ، فَإِنَّ الرَّجُلَ مِنْكُمْ لَيَعْمَلُ حَتَّى مَا يَكُونُ بَيْنَهُ وَبَيْنَ الْجَنَّةِ إِلاَّ ذِرَاعٌ، فَيَسْبِقُ عَلَيْهِ كِتَابُهُ، فَيَعْمَلُ بِعَمَلِ أَهْلِ النَّارِ، وَيَعْمَلُ حَتَّى مَا يَكُونُ بَيْنَهُ وَبَيْنَ النَّارِ إِلاَّ ذِرَاعٌ، فَيَسْبِقُ عَلَيْهِ الْكِتَابُ، فَيَعْمَلُ بِعَمَلِ أَهْلِ الْجَنَّةِ ‏

‏‏.‏

References2 variants
In-Book Reference
Book 59, Hadith 19
USC-MSA web (English) reference
Vol. 4, Book 54, Hadith 430 (deprecated numbering scheme)
Sharh · explanationclick to expand
Allah, Exalted is He, has predestined the fate of the creation and penned it in His Preserved Tablet, so it takes place afterwards according to what He had decreed. In this hadeeth, the Prophet ﷺ reports that the foetusgoes through four stages in the womb. The first stage, which is ovulation, takes forty days, wherein an egg and sperm travel in opposite directions to meet for implantation; hence pregnancy happens. In the second stage, it becomes a clot of thick blood clinging to the womb for a similar period. In the third stage, it develops into a piece of flesh whose size is as little as that which a human can chew in his mouth for a similar period. In the final stage, its form and shape begin after completing four months. Thereupon, Allah sends the angel that is responsible for wombs to write down all the good and evil deeds that he will do throughout his lifetime, his livelihood, the date of his death, and whether he will be blessed or wretched when he dies.Each person will die upon that which Allah has written.A person would act like the people deserving Paradise until he is so close to entering Paradise when suddenly the writing of destiny overcomes him, and he begins to act like the dwellers of Hell and thus enters Hell.And another person would act in the way of the denizens of Hell until he is so close to entering Hellfire when suddenly the writing of destiny overcomes him, and then he begins to act like the people of Paradise and enters Paradise. This scenario is further explained in another hadeeth. It is narrated on the authority of Sahl ibn Sa’d al-Saa’idee (may Allah be pleased with him) that the Prophet ﷺ said: “that a person performs deeds like the deeds of the people of Paradise apparently before people and he would be amongst the dwellers of Hell, and a person acts apparently like the people of Hell, but (in fact) he would be among the dwellers of Paradise.” [Saheeh al-Bukhaaree and Saheeh Muslim].That means, a person who spends life in good deeds but before passing he deviates, and a person whose life is spend in bad deeds but dies upon goodness.This is because the state of such a person as it appears to people is different to that reality which Allah knows. This hadeeth highlights the belief in fate and predestination, regarding deeds and provisions, and lifespan. It warns us from being befooled of that which is apparent to us, because deeds are judged based on how they end. It shows that good deeds and bad deeds are just signs indicating the reality of a person and do not necessarily reflect the reality or the end of people, which Allah has predestined and decreed. .
Related hadiths7
Compare isnād across 7 related chains →