The short answer
Those present gently help the dying person remember 'La ilaha illa Allah', speak only good words and make dua, and many turn them to face the qiblah. After death, the eyes are closed, the body is straightened and covered, the family affirm that we belong to Allah and to Him we return, and arrangements are made to wash, pray over and bury the person as soon as possible. Debts should be identified and settled promptly.
The detail
At the time of dying. The Prophet ﷺ instructed Muslims to prompt their dying to say 'La ilaha illa Allah'. This is done gently, by saying it within the person's hearing rather than demanding it; if they say it once, it is not repeated unless they speak of other things. The Prophet ﷺ also taught that when visiting the sick or dying, people should say only good things, because the angels say 'amin' to what is said. Family members can hold the person's hand, make dua, recite Quran quietly and keep the room calm. Many scholars recommend turning the person to face the qiblah, as described below.
Immediately after death. When Abu Salamah died with his eyes open, the Prophet ﷺ closed them, told the family to pray only for good, and made a beautiful dua asking Allah to forgive him, raise his rank and fill his grave with light. Following this example, those present:
- close the eyes and gently close the mouth, sometimes tying a cloth under the jaw;
- straighten the arms and legs while the body is still flexible;
- cover the body with a clean sheet;
- say the istirja' ('inna lillahi wa inna ilayhi raji'un'), affirming that we belong to Allah and return to Him, as the Quran praises the patient for doing in times of loss (2:155-157), and make dua for the deceased.
Arrangements. The Prophet ﷺ told Muslims to hurry with the funeral, so families normally contact the mosque or a Muslim funeral service quickly to arrange washing, shrouding, the janazah prayer and burial. Where local law requires a death certificate, coroner's involvement or a post-mortem, Muslim communities usually work with the authorities to avoid unnecessary delay.
Debts. The Prophet ﷺ taught that a believer's soul remains held back by his debt until it is paid, so heirs should identify and settle debts from the estate as a priority.
Primary references
The Quran and hadith this answer rests on, quoted from the stored texts with their references.
From the Quran
Quoted from the stored Quran text with the translation named below each verse.
وَلَنَبْلُوَنَّكُم بِشَىْءٍۢ مِّنَ ٱلْخَوْفِ وَٱلْجُوعِ وَنَقْصٍۢ مِّنَ ٱلْأَمْوَٰلِ وَٱلْأَنفُسِ وَٱلثَّمَرَٰتِ ۗ وَبَشِّرِ ٱلصَّٰبِرِينَ
And surely We shall try you with something of fear and hunger, and loss of wealth and lives and crops; but give glad tidings to the steadfast,
ٱلَّذِينَ إِذَآ أَصَٰبَتْهُم مُّصِيبَةٌۭ قَالُوٓا۟ إِنَّا لِلَّهِ وَإِنَّآ إِلَيْهِ رَٰجِعُونَ
Who say, when a misfortune striketh them: Lo! we are Allah's and lo! unto Him we are returning.
أُو۟لَٰٓئِكَ عَلَيْهِمْ صَلَوَٰتٌۭ مِّن رَّبِّهِمْ وَرَحْمَةٌۭ ۖ وَأُو۟لَٰٓئِكَ هُمُ ٱلْمُهْتَدُونَ
Such are they on whom are blessings from their Lord, and mercy. Such are the rightly guided.
From the hadith
Each hadith is quoted as stored, with its collection, number and the reference and grade the edition gives.
Abu Sa'id Al-Khudri (May Allah be pleased with him) reported: The Messenger of Allah (ﷺ) said, "Exhort your dying men to recite: 'La ilaha illallah' (There is no true god except Allah)."
Show the Arabic
وعن أبي سعيد الخدري رضي الله عنه قال: قال رسول الله صلى الله عليه وسلم : “لقنوا موتاكم لا إله إلا الله" ((رواه مسلم)).
Umm Salamah (May Allah be pleased with her): The Messenger of Allah (ﷺ) said, "When you visit a sick or a dying person, you should utter good words because the angels say `Amin' at what you say.'' She added: When Abu Salamah (May Allah be pleased with him) died, I came to the Prophet (ﷺ) and said: "O Messenger of Allah, Abu Salamah has died." He (ﷺ) directed me to supplicate thus: "Allahummaghfir li wa lahu, wa a`qibni minhu `uqba hasanatan ." So I supplicated as he directed, and Allah gave me a man who was better for me than Abu Salamah (i.e., the Prophet Muhammad (ﷺ)). (The Prophet (ﷺ) married Umm Salamah afterwards.)
Show the Arabic
-عن أم سلمة رضي الله عنها قالت: قال رسول الله صلى الله عليه وسلم : "إذا حضرتم المريض، أو الميت، فقولوا خيرا، فإن الملائكة يؤمنون علي ما تقولون، قالت: فلما مات أبو سلمة، أتيت النبي صلى الله عليه وسلمى الله عليه وسلم الله عليه وسلم الله عليه وسلم فقلت: يا رسول الله، إن أبا سلمة قد مات، قال: “قولي: اللهم اغفر لي وله، واعقبني منه عقبة حسنة" فقلت: فأعقبني الله من هو خير لي منه: محمداً صلى الله عليه وسلم ." ((رواه مسلم هكَذا:"إِذا حَضَرْتُمُ المَرِيضَ" أَو"الميِّت"عَلَى الشَّكِّ، رواه أبو داود وغيره:"الميِّت"بلا شَكٍّ)).
Umm Salamah (May Allah be pleased with her) reported: The Messenger of Allah (ﷺ) visited Abu Salamah (May Allah be pleased with him) when his eyes were open soon after he died. He closed them (the eyes) for him and said, "When the soul is taken away, the sight follows it." Some members of his family began to weep. He (ﷺ) said: "Do not supplicate for yourselves anything but good, for the angels say 'amin' to what you say." Then he said, "O Allah! Forgive Abu Salamah, raise his rank among those who are rightly-guided and grant him a successor from his descendants who remain behind. Grant him pardon and us, too. O Rubb of the worlds. Make his grave spacious for him and give him light in it."
Show the Arabic
عن أم سلمة رضي الله عنها قالت: دخل رسول الله صلى الله عليه وسلم علي أبي سلمه وقد شق بصره فأغمضه، ثم قال: "إن الروح إذا قبض، تبعه البصر" فضج ناس من أهله، فقال: "لا تدعو علي أنفسكم إلا بخير فإن الملائكة يؤمنون علي ما تقولون” ثم قال: “اللهم اغفر لأبي سلمه، وارفع درجته في المهديين،واخلفه في عقبه في الغابرين، واغفر لنا وله يا رب العالمين، وافسح له في قبره، ونور له فيه" ((رواه مسلم)).
Abu Hurairah (May Allah be pleased with him) reported: I heard the Prophet (ﷺ) saying, "Hurry up with the dead body (for its burial), for if it is pious, you are speeding it to goodness and if it is otherwise, you are laying an evil off your necks."
Show the Arabic
عن أبي هريرة رضي الله عنه عن النبي صلى الله عليه وسلمى الله عليه وسلم الله عليه وسلم الله عليه وسلم قال: "أسرعوا بالجنازة، فإن تك صالحة، فخير تقدمونها إليه، وإن تك سوي ذلك، فشر تضعونه عن رقابكم" ((متفق عليه)). ((وفي رواية لمسلم: "فخير تقدمونها عليه)).
Further sources
Written for Islamic Portal from the Quran and hadith cited above; school positions as commonly taught in the standard manuals of each school.
What scholars say
Scholars caution against harshness at the deathbed: pressing a dying person repeatedly to say the shahadah can distress them. The aim is that their last words be the testimony of faith, and the hadith on this is a source of hope for the family. Reciting Quran near the dying, commonly Surah Ya-Sin, is widely practised and recommended by many scholars, while others note that it should not be treated as an obligatory ritual.
Where the schools differ
The four Sunni schools of law. Follow the school you were taught, or ask a scholar you trust.
The four schools agree on gently prompting the shahadah, speaking good words, closing the eyes, covering the body, settling debts and hastening the funeral. On the position of the dying person, scholars of all four schools recommend turning them towards the qiblah; most prefer laying them on the right side facing the qiblah, as in the grave, while laying them on the back with the feet towards the qiblah and the head slightly raised is also accepted and widely practised, especially when it is easier. Families should not distress the dying person to achieve either position.
In practice
- A daughter sits beside her father in hospital, quietly saying 'La ilaha illa Allah' and reading Quran softly.
- A nurse is asked by the family to let them close their mother's eyes and turn her gently towards the qiblah.
- Immediately after a death, the eldest son contacts the mosque's funeral committee and starts listing his father's debts.
Common misunderstandings
- Crying at the deathbed is forbidden. Tears and grief are natural; what is discouraged is wailing, tearing clothes and words of complaint against Allah's decree.
- The person must be made to say the shahadah over and over. It is said gently and not pressed repeatedly.
- The family must wait several days so everyone can travel. The Sunnah is to hurry with the funeral; relatives can make dua and visit the grave later.
Check your understanding
Try to explain the answer in two sentences, in your own words, as if to a friend. Then read the short answer again and compare.
Suggested lessons
Courses, lessons and guides that teach this topic step by step.
Review and provenance
- Written by
- Islamic Portal editorial team
- Added
- 10 November 2026
Corrections
No corrections have been needed.
