He reported God’s messenger as saying, “When a believer’s death is near the angels of mercy bring a piece of white silk and say, ‘Come out pleased and accepted to God’s rest and provision and to a Lord who is not angry.’ Then the soul comes out with a fragrance like that of the sweetest musk, they pass him from one to another till they bring him to the gates of heaven, and say, ‘How sweet is this fragrance which has come to you from the earth.’ Then they bring him to the souls of the believers, and they are happier over seeing him than any of you are when one who has been away from home comes back. They ask him, ‘How is so and so? How is so and so?’ Then they say, ‘Leave him alone just now, for he has just come from the grief of the world. He replies, ‘He has died. Has he not come to you?' and they say, ‘He has been taken to his destination, the pit.'(Cf. Qur’an, ci, 9) When an infidel's death is near the angels of punishment bring him hair-cloth and say, ‘Come out, displeased and subject to displeasure, to the punishment from God who is great and glorious.' The soul comes out with a stench like the most unpleasant stench of a corpse, they take him to the gate of the earth (The meaning is probably the gate to the lowest heaven) and say, ‘How offensive is this odour !’ They finally bring him to the souls of the infidels."
He reported God’s messenger as saying, “When the soul of a believer comes out, two angels meet it and take it up.” Hammad said he mentioned some of the fragrance of its odour and made mention of musk, and said, “The inhabitants of heaven will say, ‘A good soul has come from the earth. God bless you and a body which you inhabited!' He will then be taken to his Lord who will tell them to take him away till the end of the appointed time."(A reference to the day of resurrection. Cf. Qur’an, vi, 2) He said, “When an infidel’s soul comes out (Hammad saying that he mentioned some of its stench and made mention of cursing), the inhabitants of heaven say, ‘A wicked soul has come from the earth,’ and they will be told to take him away till the end of the appointed time." Abu Huraira said that God’s messenger then put a seamless garment he was wearing over his nose thus( This would be indicated by putting his garment over his nose).
We went out with the Prophet to the funeral of a man of the Ansar and came to the grave. It had not yet been dug, so God’s messenger sat down and we sat down around him quietly. He had in his hand a stick with which he was making marks on the ground. Then he raised his head and said, “Seek refuge in God from the punishment of the grave saying it twice or thrice. He then said, “When a believer is about to leave the world and go forward to the next world, angels with faces white as the sun come down to him from heaven with one of the shrouds of paradise and some of the perfume of paradise and sit away from him as far as the eye can see. Then the angel of death comes and sits at his head and says, 'Good soul, come out to forgiveness and acceptance from God.' It then comes out as a drop flows from a water-skin and he seizes it; and when he does so, they do not leave it in his hand for an instant, but take it and place it in that shroud and that perfume, and from it there comes forth a fragrance like that of the sweetest musk found on the face of the earth. They then take it up and do not bring it past a company of angels without their asking, “Who is this good soul?' to which they reply, ‘So and so, the son of so and so,’ using the best of his names by which people called him on the earth. They then bring him to the lowest heaven and ask that the gate should be opened for him. This is done, and from every heaven its archangels escort him to the next heaven till he is brought to the seventh heaven, and God who is great and glorious says, ‘Record the book of my servant in ‘Illiyun (Cf. Qur’an, lxxxiii, 18) and take him back to earth, for I created mankind from it, I shall return them into it, and from it I shall bring them forth another time.' His soul is then restored to his body, two angels come to him, and making him sit up say to him, ‘Who is your Lord?’ He replies, ‘My Lord is God.’ They ask, ‘What is your religion?’ and he replies, ‘My religion is Islam.’ They ask, ‘Who is this man who was sent among you?’ and he replies, ‘He is God’s messenger.’ They ask, ‘What is your knowledge?’ and he replies, ‘I have read God’s Book, believed in it and declared it to be true.’ Then one cries from heaven, ‘My servant has spoken the truth, so spread out carpets from paradise for him, clothe him from paradise, and open a gate for him into paradise.’ Then some of its joy and fragrance comes to him, his grave is made spacious for him as far as the eye can see, and a man with a beautiful face, beautiful garments and a sweet odour comes to him and says, ‘Rejoice in what pleases you for this is your day which you have been promised.' He asks, ‘Who are you, for your face is perfectly beautiful and brings good?” He replies, ‘I am your good deeds.’ He then says, ‘My Lord, bring the last hour; my Lord, bring the last hour, so that I may return to my people and my property.’ But when an infidel is about to leave the world and proceed to the next world, angels with black faces come down to him from heaven with hair-cloth and sit away from him as far as the eye can see. Then the angel of death comes and sits at his head and says, ‘Wicked soul, come out to displeasure from God.’ Then it becomes dissipated in his body, and he draws it out as a spit is drawn out from moistened wool. He then seizes it, and when he does so they do not leave it in his hand for an instant, but put it in that hair-cloth and from it there comes forth a stench like the most offensive stench of a corpse found on the face of the earth. They then take it up and do not bring it past a company of angels without their asking, ‘Who is this wicked soul?’ to which they reply, ‘So and so, the son of so and so,’ using the worst names he was called in the world. When he is brought to the lowest heaven request is made that the gate be opened for him, but it is not opened for him. (God’s messenger then recited, ‘The gates of heaven will not be opened for them and they will not enter paradise until a camel can pass through the eye of a needle.)(Qur'an, vii, 40) God who is great and glorious then says, ‘Record his book in Sijjin (Cf. Qur’an, Ixxxiii, 7 ff) in the lowest earth,’ and his soul is thrown down. (He then recited, ‘He who assigns partners to God is as if he had fallen down from heaven and been snatched up by birds, or made to fall by the wind in a place far distant.')(Qur’an, xxii, 31). His soul is then restored to his body, two angels come to him, and making him sit up say to him, ‘Who is your Lord?’. He replies, ‘Alas, alas, I do not know.’ They ask, ‘What is your religion?' and he replies, ‘Alas, alas, I do not know.’ They ask, ‘Who is this man who was sent among you?' and he replies, ‘Alas, alas, I do not know.’ Then one cries from heaven, ‘He has lied, so spread out carpets from hell for him, and open a gate for him into hell.’ Then some of its heat and hot air comes to him, his grave is made narrow for him so that his ribs are pressed together in it, and a man with an ugly, face, ugly garments and an offensive odour come to him and says, ‘Be grieved with what displeases you, for this is your day which you have been promised.’ He asks, ‘Who are you, for your face is most ugly and brings evil?' He replies, ‘I am your wicked deeds.’ He then says, ‘My Lord, do not bring the last hour.’ ” In a version there is something similar containing an addition: “When his soul comes out every angel between heaven and earth and every angel in heaven invoke blessings on him, and the gates of heaven are opened for him, no guardians of a gate failing to supplicate God that his soul may be taken up beyond them. But his soul, i.e., the infidel’s, is pulled out along with the veins and every angel between heaven and earth and every angel in heaven curse him, and the gates of heaven are locked, no guardians of a gate failing to supplicate God that his soul may not be taken up beyond them.
Abu Huraira reported God’s messenger as saying, “The angels are present with one who dies, and if a man is good they say, ‘Come out, good soul, which was in the good body; come out praiseworthy and be happy with rest and provision and a Lord who is not angry.’ That continues to be said to it till it comes out. It is then taken up to heaven and the door is opened for it. The angels are asked who this is and reply that he is so and so, whereupon these words are spoken, ‘Welcome, good soul, which was in the good body; enter praiseworthy and be happy with rest and provision(Cf. Qur'an, lvi, 89) and a Lord who is not angry.’ That continues to be said to it till it comes to the heaven in which God is. But when it is a bad man what is said is, ‘Come out, wicked soul, which was in the wicked body; come out blameworthy and be grieved by a boiling liquid, one dark and intensely cold (Cf. Qur’an, xxxviii, 57) and other kinds of its type.’ That continues to be said to it till it comes out. It is then taken up to heaven and the door is opened for it. The question will be asked who this is and the reply given that it is so and so, whereupon these words are spoken, 'There is no welcome for the wicked soul which was in the wicked body; go back blameworthy, for the gates of heaven will not be opened for you.' It will then be sent away from heaven and come to the grave.”