Sahih al-Bukhari 6594
Abul Walid Hisham bin Abdul Malik narrated to us that Shu'bah told us. Sulaiman A'mash informed us. He said: I heard Zaid bin Wahb. Zaid narrated from Hazrat Abdullah (bin Mas'ud (ra)). He said: The Messenger of Allah (saw) narrated to us, and he (saw) was truthful and was told only the truth. He (saw) said: “The constituent parts of each one of you are gathered in his mother's womb for forty days. Then, in a like period, it becomes a clot (alaqah). Then, in a like period, it becomes a lump of flesh (mudghah). Then Allah sends an angel, and he is commanded concerning four things: concerning his provision and his lifespan, and whether he will be wretched or blessed. Then the soul is breathed into him. By Allah, one of you,” or he said, “a man, keeps doing the deeds of the people of Hell until there remains between him and Hell only a fathom,” or he said, “an arm's length, and then what is written for him overtakes him, and he does the deeds of the people of Paradise and enters Paradise. And a man keeps doing the deeds of the people of Paradise until there remain between him and Paradise only one or two arm's lengths, when what is written for him overtakes him, and he does the deeds of the people of Hell and goes into Hell.” Adam (the narrator) said illa dhira'un instead of (ghairu dhira'in).
AI-translated by Islam-Today