Allaahumma innii a’uudhu bika min suu’il-‘umuri wa fitnatissadr(i), wa a’uudhu bi’izzatika laa ilaaha illaa anta an tudillanii, wa min jahdil-balaa'(i), wa darakish-shaqaa'(i), wa suu’il-qadaa'(i), wa shamaatatil-‘a’daa'(i), wa min sharri maa ‘amilt(u), wa min sharri maa lam a’mal, wa min zawaali ni’matik(a), wa tahawwuli ‘aafiyatik(a), wa fujaa’ati niqmatik(a), wa jamii’i sakhatik(a), wa min sharri sam’ii, wa min sharri basarii, wa min sharri lisaanii, wa min sharri qalbii, wa min sharri maniyyii, wa min an azlima aw uzlam(a), wa minal-hadam(i), wa minat-taraddii, wa minal-gharaqi wal-haraq(i), wa an yatakhabbataniyash-shaytaanu ‘indal-mawt(i), wa min an amuuta fii sabiilika mudbira(n), wa an amuuta ladiigha.
[Composite: ‘Umar ibn al-Khattab. Sunan an-Nasa’i #5402; ‘Abdullah ibn Abbas. Sahih Muslim #4894; Abu Hurayrah. Sahih al-Bukhari #5871; ‘A’ishah. Sahih Muslim #4891; ‘Abdullah ibn ‘Umar. Sahih Muslim #4922; Shakal ibn Humayd. Sunan at-Tirmidhi #3414; Abu Hurayrah. Kanz al-‘Ummal #3688; Abdul-Yasr. Sunan Abi Dawud #1328]
O Allah, I seek Your protection from undesirable age and mischief of the heart. I seek Your refuge, by virtue of Your Honor as there is no god except You, from that You should lead me astray. (I seek Your refuge) from severe trials, wretchedness, bad fate, and taunts from the enemies. From the evil of what I did and what I did not. From the loss of Your blessings and the removal of Your protection. From Your sudden punishment and from all (that can warrant) Your wrath. From the mischief of my hearing, sight, speech, heart, and seed. From oppressing others or being oppressed, from being crushed or falling, from drowning or being burnt. Or that Shaytan should confuse me at the time of my death. Or that I should die as a fugitive from jihad or that I should die due to a venomous bite.
From the evil of what I did and what I did not: We seek protection against the evil of our actions as well as inactions.
that Shaytan should confuse me: Shaytan makes his most determined effort to mislead a believer at the time of his death. He reminds his associates that if they don’t get the person the, they will never get him. The Satanic effort consists in confusing or distracting the dying person so he or she does not die in a state of iman or perform repentance before death. At a minimum it aims at causing despair in the person so he will have no hope of Allah’s mercy as he meets Him (‘Awn al-Ma’bud).
Prophet Muhammad (sallallahu alayhi wa sallem) made this du’aa only to teach the ummah, as he was clearly immune from Satanic attacks.
This du’aa also includes please for protection from many forms of sudden and painful deaths [see below for additional commentary, taken from du’aa 206].
sudden death: We seek protection from sudden calamities and sudden death. However, if one does encounter that then we should seek comfort from other traditions that promise martyrdom for a person facing such death. This is similar to the case of sickness. We never seek it and always ask for good health. However when we do fall sick, we seek comfort from the ahadith that tell us that it becomes a means of forgiveness of one’s sins.
(Source: Khalid Baig’s translation and commentary of du’aa #85 and part of commentary of du’aa #206 in the Accepted Whispers: Munajat-e-Maqbul)