االلَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ الْهَدْمِ وَأَعُوذُ بِكَ مِنَ التَّرَدِّي وَأَعُوذُ بِكَ مِنَ الْغَرَقِ وَالْحَرَقِ وَالْهَرَمِ وَأَعُوذُ بِكَ أَنْ يَتَخَبَّطَنِيَ الشَّيْطَانُ عِنْدَ الْمَوْتِ وَأَعُوذُ بِكَ أَنْ أَمُوتَ فِي سَبِيلِكَ مُدْبِرًا وَأَعُوذُ بِكَ أَنْ أَمُوتَ لَدِيغًا.
Allâhumma ’innî ’a‘ûdhu bika minal-hadmi, wa ’a‘ûdhu bika minat-taraddî, wa ’a‘ûdhu bika minal-gharaqi, wal-haraqi, wal-harami; wa ’a‘ûdhu bika ’an yatakhabbataniyash-shaytânu ‘indal-mawti; wa ’a‘ûdhu bika ’an ’amûta fî sabîlika mudbiran, wa ’a‘ûdhu bika ’an ’amûta ladîghan.
O’ Allâh! I take refuge in You from being buried alive (from the debris of a building falling down), and I take refuge in You from falling down (from the roof of a building); and I take refuge in You from drowning and burning and from senility. I take refuge in You from Satan harming (beating) me at the time of my death; and I take refuge in You from dying in holy war with my back to the enemy (fleeing from the battlefield), and I take refuge in You from death by being bitten by venomous creatures. [Abû Dâwûd]
Shaytân makes utmost effort to mislead a believer at the time of his death by confusing or distracting the dying person so that he does not die in the state of ’îmân (faith) or repent before he dies. He aims at causing despair to the dying person so that he will have no hope of Allâh’s mercy. This du‘â’ is also for protection from many forms of sudden and painful deaths.
From the book “REACHING OUT TO MY RABB”