If you fear that a Muslim may be nearing his death, it is advisable to do the following:
Family members who are Muslims should stay beside the dying person
2. A pious and knowledgeable Muslim should be invited (Salaam F.S. may be contacted if the dying or any family members holds our platinum card)
3. Help the dying to turn his thoughts to Allah, encourage him very gently to repent
4. Remind him about all the good deeds that he did and encourage him to anticipate Allah’s mercy and favours. The Prophet said: “Let no Muslim die except expecting and hoping the best from Allah.” (Muslim)
5. Do not leave him alone.
6. Prompt him very gently (Encouragement without insistence) every now and then to say the Shahada: “La ilaha illa Allah”, which means ‘There is no God deserving worship but Allah,’ in a very kind and sincere manner as these may be his last words. Abu-Saeed Al-Khuduri reported that Prophet Muhammad, Peace be upon him, said: «Help Muslims who are dying to say: ‘La ilaha illa Allah’» (Reported by Muslim).
7. Other Muslims around him should make Dua’ (Supplicate) to Allah to help him go through the situation with ease, and forgive him.
Note:
1) There is no authentic proof for reading Surat Yasin (Q36) beside a dying Muslim.
2) There is no authentic proof of directing the dying Muslim to the Qiblah.
3) There is no Islamic teaching of putting the Quran under the head of a dying Muslim.
4) There is no Islamic teaching of asking junubs (Those who did not take a shower after a sexual act), or menstruating women, to leave the room.