When a Muslim is near death, those around him/her are called upon to give comfort, and reminders of Gods mercy and forgiveness. They may recite verses of the Quran, give physical comfort, and encourage the dying one to recite words of remembrance and prayer. It is recommended, if at all possible, for a Muslim’s last words to be the declaration of faith: “ I bear Witness that there is no God but Allah and Muhammad is his messenger.” (However it should be noted that this be done in a very soft manner without enforcing the declaration as it is possible that due to extreme discomfort, pain and disillusion from Satan that the dying individual responds harshly against advice.)
Upon death, those with the deceased are encouraged to remain calm, pray for the departed, and most importantly begin preparations for the burial of the body. The eyes of the deceased should be closed, and the body covered temporarily with a clean sheet. It is forbidden for those in mourning to excessively wail, scream, or thrash about. “Those who tear their clothes and beat their chests (in mourning) are not from us. “Grief is normal when one has lost a loved one, and it is natural and permitted to cry. When the Prophet Muhammad’s (pbuh) own son died, he said: “The eyes shed tears and the heart is grieved, but we will not say anything except which pleases our Lord. ” One should strive to be patient, and remember that Allah (SWT) is the one who gives life and takes it away, at a time appointed by Him. It is not for us to question His wisdom.
Muslims strive to bury the deceased as soon as possible after death, avoiding the need for embalming or otherwise disturbing the body of the deceased. An autopsy may be performed, if necessary (in accordance to the law of the land), but should be done with the utmost respect for the dead.