اللَّهُمَّ لَا تَحْرِمْنَا أَجْرَهُ وَلَا تُضِلَّنَا بَعْدَهُ
Allahumma la tahrimna ajrahu wa la tudillana ba'dah
O Allah, do not deprive us of his reward, and do not lead us astray after him.
When someone dies, two risks emerge: (1) You lose the reward of patience by complaining about Allah's decree; (2) The death shakes your faith and you go astray. The Prophet ﷺ addressed both. Grief is natural and permissible — but losing your faith because of grief is the real loss. The person who died may be in a better place; the danger is for the living who are left questioning.
Related Du'as
لَا إِلَهَ إِلَّا اللَّهُ
There is no deity except Allah. (Encourage the dying person to say these as their last words.)
Sahihاللَّهُمَّ إِنِّي أَسْأَلُكَ الْجَنَّةَ وَأَعُوذُ بِكَ مِنَ النَّارِ
O Allah, I ask You for Paradise and seek refuge from the Fire.
Sahihاللَّهُمَّ اجْعَلْ خَيْرَ عُمُرِي آخِرَهُ وَخَيْرَ عَمَلِي خَوَاتِمَهُ وَخَيْرَ أَيَّامِي يَوْمَ أَلْقَاكَ
O Allah, make the best of my life its last part, the best of my deeds their conclusions, and the best of my days the day I meet You.
Hasanاللَّهُمَّ إِنِّي أَسْأَلُكَ حُسْنَ الْخَاتِمَةِ وَأَعُوذُ بِكَ مِنْ سُوءِ الْخَاتِمَةِ، اللَّهُمَّ اجْعَلْ خَيْرَ أَعْمَالِنَا خَوَاتِمَهَا وَخَيْرَ أَيَّامِنَا يَوْمَ نَلْقَاكَ
O Allah, I ask You for a good ending and I seek refuge in You from a bad ending. O Allah, make the best of our deeds their conclusions and the best of our days the day we meet You.
Hasan