Mishkat al-Masabih 1628
وَعَنْ أَبِي هُرَيْرَةَ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «إِذَا خَرَجَتْ رُوحُ الْمُؤْمِنِ تَلَقَّاهَا مَلَكَانِ يُصْعِدَانِهَا» . قَالَ حَمَّادٌ: فَذَكَرَ مِنْ طِيبِ رِيحِهَا وَذَكَرَ الْمِسْكَ قَالَ: وَيَقُولُ أَهْلُ السَّمَاءِ: رُوحٌ طَيِّبَةٌ جَاءَتْ مِنْ قِبَلِ الْأَرْضِ صَلَّى اللَّهُ عَلَيْكِ وَعَلَى جَسَدٍ كُنْتِ تُعَمِّرِينَهُ فَيُنْطَلَقُ بِهِ إِلَى رَبِّهِ ثُمَّ يَقُولُ: انْطَلِقُوا بِهِ إِلَى آخِرِ الْأَجَلِ . قَالَ: «وَإِنَّ الْكَافِرَ إِذَا خَرَجَتْ رُوحُهُ» قَالَ حَمَّادٌ: وَذَكَرَ من نتنها وَذكر لعنها. وَيَقُولُ أَهْلُ السَّمَاءِ: رُوحٌ خَبِيثَةٌ جَاءَتْ مِنْ قِبَلِ الْأَرْضِ فَيُقَالُ: انْطَلِقُوا بِهِ إِلَى آخِرِ الْأَجَل قَالَ أَبُو هُرَيْرَة: فَرد رَسُول الله صلى الله عَلَيْهِ وَسلم ريطة كَانَت عَلَيْهِ على أَنفه هَكَذَا. رَوَاهُ مُسلم
From Abu Hurayrah, that the Messenger of Allah ﷺ said: "When the soul of the believer comes out, two angels meet it and take it up." Hammad said: He mentioned the sweetness of its scent and mentioned musk. He said: "And the inhabitants of the heaven say: 'A good soul has come from the direction of the earth. May Allah bless you and the body you used to inhabit.' Then he is taken to his Lord, and then He says: 'Take him away until the end of the term.'" He said: "And when the soul of the disbeliever comes out" — Hammad said: He mentioned its stench and mentioned its being cursed — "the inhabitants of the heaven say: 'A wicked soul has come from the direction of the earth.' And it is said: 'Take him away until the end of the term.'" Abu Hurayrah said: Then the Messenger of Allah ﷺ put a thin cloth that he had on over his nose, like this. Reported by Muslim.