Prayer › Supplication said after the last tashahhud and before salam
Dua before salam — keep me alive while life is good for me
اللَّهُـمَّ بِعِلْـمِكَ الْغَـيْبَ وَقُـدْرَتِـكَ عَلَى الْخَلْقِ أَحْـيِنِي مَا عَلِـمْتَ الْحَـيَاةَ خَـيْرًا لِي، وَتَوَفَّـنِي إِذَا عَلِـمْتَ الْوَفَـاةَ خَـيْرًا لِي، اللَّهُـمَّ إِنِّـي أَسْـأَلُـكَ خَشْيَتَـكَ فِي الْغَـيْبِ وَالشَّهَـادَةِ، وَأَسْـأَلُـكَ كَلِمَـةَ الْحَـقِّ فِي الرِّضَـا وَالْغَضَـبِ، وَأَسْـأَلُـكَ الْقَصْدَ فِي الْغِنَـى وَالْفَقْـرِ، وَأَسْـأَلُـكَ نَعِـيمًا لَا يَنْفَـدُ، وَأَسْـأَلُـكَ قُـرَّةَ عَيْـنٍ لَا تَنْـقَطِعُ، وَأَسْـأَلُـكَ الرِّضَـا بَعْـدَ الْقَضَـاءِ، وَأَسْـأَلُـكَ بَـرْدَ الْعَـيْشِ بَعْـدَ الْمَـوْتِ، وَأَسْـأَلُـكَ لَـذَّةَ النَّظَـرِ إِلَى وَجْـهِكَ وَالشَّـوْقَ إِلَى لِقَـائِكَ، فِي غَـيْرِ ضَـرَّاءَ مُضِـرَّةٍ، وَلَا فِتْـنَةٍ مُضِـلَّةٍ، اللَّهُـمَّ زَيِّـنَّا بِزِينَـةِ الْإِيمَـانِ، وَاجْـعَلْنَا هُـدَاةً مُهْـتَدِينَ
Allāhumma bi‘ilmika l-ghayba wa qudratika ‘ala l-khalqi aḥyinī mā ‘alimta l-ḥayāta khayran lī, wa tawaffanī idhā ‘alimta l-wafāta khayran lī, allāhumma innī as’aluka khašyataka fi l-ghaybi wa š-šahādah, wa as’aluka kalimata l-ḥaqqi fi r-riḍā wa l-ghaḍab, wa as’aluka l-qaṣda fi l-ghinā wa l-faqr, wa as’aluka na‘īman lā yanfad, wa as’aluka qurrata ‘aynin lā tanqaṭi‘, wa as’aluka r-riḍā ba‘da l-qaḍā’, wa as’aluka barda l-‘ayši ba‘da l-mawt, wa as’aluka ladhdhata n-naẓari ilā wajhik, wa š-šawqa ilā liqā’ik, fī ghayri ḍarrā’a muḍirrah, wa lā fitnatin muḍillah, allāhumma zayyinnā bizīnati l-īmān, wa j‘alnā hudātan muhtadīn.
Translation
O Allah, by Your knowledge of the unseen and Your power over creation, keep me alive so long as You know such life to be good for me and take me if You know death to be better for me. O Allah, make me fearful of You, whether in secret or in public, and I ask You to make me true in speech, in times of pleasure and anger. I ask you to make me moderate in times of wealth and poverty, and I ask You for everlasting bliss and joy which will never cease. I ask You to make me pleased with what You have decreed and for an easy life after death. I ask You for the sweetness of looking upon Your Face and a longing to encounter You in a manner which does not entail a calamity which will bring about harm, nor a trial which will cause deviation. O Allah, beautify us with the adornment of faith and make us of those who guide and are rightly guided.
When to recite
In prayer, after the final tashahhud and before the closing salam.
Footnote
This is one of the longer, most beloved supplications — narrated from ʿAmmār ibn Yāsir, asking for sincerity in the unseen, truth, moderation, and ultimately the delight of gazing upon Allah's Face.
Source / Reference
Hisnul Muslim 62