Death is actually the one and only thing we know for certain in this life, yet it is something we avoid and pretend that it won’t happen to us.

Islamic view on death

Islam is very firm on the belief that everyone has one life to live, to spend it as a good Muslim following Allah’s commands, and that every person will taste death. Islam rejects the notion of multiple lives and rebirths. The concept of death has a strong hold on muslims since we should continually remind ourselves that this life is temporary, so as not to become materialistic, and be mindful that we will die one day and leave this place, and Allah will question us on the actions we took in this life.
When death approaches, the close family and friends try to support and comfort the dying person through supplication as well as remembrance of Allah and His will. The attendance is to help the dying person to iterate his commitment to unity of God.

When a person dies

Upon death, the eye lids are to be closed, the body should be covered, and preparation for burial takes place as soon as possible. The whole body is washed and wrapped in a shroud. Muslims gather and a prayer is performed for the dead. The body is to buried soon after the prayer. The wrapped body is to be laid directly at the bottom of the dug grave. The body is to be laid on its right side facing the direction of Mecca. A ceiling is attached to the grave and then covered with dirt. The grave is to be marked by raising its top level of dirt above surrounding grounds. A stone may be used to mark its location, but no writings are allowed. Buildings or other forms of structures are not allowed on top of the grave.

The family of the dead has a responsibility to fulfill any debts he had as soon as possible. They have the commitment to maintain contacts and courteous relationships with close relatives and close friends. They frequently pray and supplicate for him. Charity, fasting, prayers, and pilgrimage is often performed on behalf of the dead. Visiting the graves is recommended for the living to remember death and the day of Judgement.

Quran Quotes

Every soul will taste death, and you will only be given your [full] compensation on the Day of Resurrection. So he who is drawn away from the Fire and admitted to Paradise has attained [his desire]. And what is the life of this world except the enjoyment of delusion.
Qura (3:185)

Praying for or Attending the Funeral of non-believers::

“And never (O Muhammad ) pray (funeral prayer) for any of them (hypocrites) who dies, nor stand at his grave. Certainly they disbelieved in Allah and Prophet Muhammad, and died while they were Fasiqun (rebellious, — disobedient to Allah and Prophet Muhammad ﷺ)
Qur’an – At-Tauba 9:84, see also Hadith – Bukhari 2:359, 6:194, 7:688

Being mindful of death:

“Say: Surely my prayer and my sacrifice and my life and my death are (all) for Allah, the Lord of the worlds.
Quran 6:162

Hadith Quotes

Narrated Anas bin Malik: The Prophet (peace be upon him) said, “None of you should wish for death because of a calamity befalling him; but if he has to wish for death, he should say: “O Allah! Keep me alive as long as life is better for me, and let me die if death is better for me.’ ”
Sahih Al-Bukhari – Book 70 Hadith 575

574. Ibn ‘Umar said, “The Messenger of Allah, may Allah bless him and grant him peace, took me by the shoulder and said, ‘Be in this world as if you were a stranger or a traveller on the road.”

Ibn ‘Umar used to say, “In the evening, do not anticipate the morning, and in the morning do not anticipate the evening. Take from your health for your illness and from your life for your death.” [al-Bukhari]

575. Ibn ‘Umar reported that the Messenger of Allah, may Allah bless him and grant him peace, said, “It is not right for a Muslim man who has anything to bequeath to spend two nights with having a written will in his possession.” [Agreed upon. This is the variant in al-Bukhari]

In a variant of Muslim, “To spend three nights.” Ibn ‘Umar said, “Not a night has passed since I heard the Messenger of Allah, may Allah bless him and grant him peace, say that without my having had my will with me.”

576. Anas said, “The Prophet, may Allah bless him and grant him peace, drew some lines and said, ‘This is man and this is end of his lifespan. That is how he is when this nearest line comes upon him.” [al-Bukhari]

577. Ibn Mas’ud said, “The Prophet, may Allah bless him and grant him peace, drew lines making a square and then drew a line in the middle which extended beyond it. He drew some small lines up to this middle line from the side within the square and said, ‘This is man, and this is end of his lifespan which encircles him – or by which he is encircled – and this which goes beyond it is his hope and these small lines are things that happen. If this one misses him, that one gets him, and if that one misses him, this one gets him.'” [al-Bukhari] This is its form:
578. Abu Hurayra reported the Messenger of Allah, may Allah bless him and grant him peace, said, “Race to good actions as fast as you can. What are you waiting for except delayed poverty, oppressive wealth, debilitating illness, dottering senility, a swift death or the Dajjal? Or are you waiting for an unseen evil, or the Last Hour? The Last Hour will be most bitter and terrible.” [at-Tirmidhi]

579. Abu Hurayra reported that the Messenger of Allah, may Allah bless him and grant him peace, said, “Remember frequently the thing that cuts off pleasures,” i.e. death.” [at-Tirmidhi]

580. Ubayy ibn Ka’b said, “When a third of the night had passed, the Messenger of Allah, may Allah bless him and grant him peace, stood up and said, ‘O people! Remember Allah! The first blast has come and it will be followed by the second blast. Death has come with all that it involves. Death has come with all that it involves.’ I said, ‘O Messenger of Allah, I do a lot of prayer on you. How much prayer should I allot for you?’ He said, ‘However much you like.’ I said, ‘A quarter?’ He said, ‘However much you like, but if you do more, it will be better for you.’ I said, ‘A half?’ He said, ‘However much you like, but if you do more, it will be better for you.’ I said, ‘Two-thirds?’ He said, ‘However much you like, but if you do more, it will be better for you.’ I said, ‘I will allot all my prayer for you.’ He said, ‘Then you will be spared from worry and forgiven your wrong action.'” [at-Tirmidhi]