God said in quran: Say: "The Angel of Death, put in charge of you, will (duly) take your souls: then shall you be brought back to your Lord. (32:11) If you could see, when the angels take the souls of the unbelievers (at death), how they smite their faces and their backs, saying: taste the penalty of the blazing fire. Because of the deeds which your own hands sent forth: For God is never unjust to his servants. (8:50-51)
The Hadith of the Prophet about extracting the soul from the flesh of bad people is summarized as follows: Al-Baraa'Ibn 'Azib narrated that the Prophet (pbuh) said: If an unbelieving servant is more concerned with the worldly life than he is about the other life, tarfaced angels descend from the sky. These angels, who are carrying bad smelling fragrance, sit in near proximity tot he dying unbeliever. Then the Angel of Death descends and places himself near the head of the unbeliever. The Angel of Death says: 'O bad soul! Come out to Allah's curse and anger.' The Prophet (p) said: The soul disperses in the dying person's body. The Angel of Death grabs the soul like a sufud (a piece of metal stuck in wet wool). The Angel of Death takes the soul without letting it stay in his hand for even an instance. Then the angels put a rough garment that smells bad on the deceased's soul. The soul comes out having a very foul smell.
For those who are good, the Quran informs us that the extraction and pulling out the soul from flesh is very easy. The dying person will not feel the pain from the removal of the soul from his body. It will be as easy as pulling a strand of hair out of some dough. The Hadith of the Prophet (p) narrated by Al-Baraa'Ibn 'Azib states the following:
If the believing servant refrains from coverting material things in his temporal life and desires the hereafter, white-faced angels descend from the sky. Their faces shine as brightly as the sun. They carry with them funeral garb and hanut (fragrance) from Heavan. They sit in near proximity to the dying person. The Angel of Death (may Allah bless him) comes and sits near the dying person's head, saying: O good soul, come out to Allah's mercy and forgiveness. The Prophet (p) said, The soul comes out like a drop of water being poured out. Then the Angel takes the soul, without letting it stand in his hand; releases it like a blink. The other angels take the soul and clothe it in funeral gard and hanut. From that soul comes the best smell, one resembling the best musk on earth.