Ibn 'Umar (May Allah be pleased with them) reported:
Messenger of Allah (ﷺ) seldom left a gathering without supplicating in these terms: "Allahumma-qsim lana min khashyatika ma tahulu bihi bainana wa baina ma'sika, wa min ta'atika ma tuballighuna bihi jannataka, wa minal-yaqini ma tuhawwinu 'alaina masa-'ibad-dunya. Allahumma matti'na biasma'ina, wa absarina, wa quwwatina ma ahyaitana, waj'alhul-waritha minna, waj'al tharana 'ala man zalamana, wansurna 'ala man 'adana, wa la taj'al musibatana fi dinina, wa la taj'alid-dunya akbara hammina, wa la mablagha 'ilmina, wa la tusallit 'alaina man-la yarhamuna, (O Allah, apportion to us such fear as should serve as a barrier between us and acts of disobedience; and such obedience as will take us to Your Jannah; and such as will make easy for us to bear in the calamities of this world. O Allah! let us enjoy our hearing, our sight and our power as long as You keep us alive and make our heirs from our own offspring, and make our revenge restricted to those who oppress us, and support us against those who are hostile to us let no misfortune afflict our Deen; let not worldly affairs be our principal concern, or the ultimate limit of our knowledge, and let not those rule over us who do not show mercy to us)."[At- Tirmidhi].
App reference: Book 5, Hadith 21
Arabic/English book reference: Book 5, Hadith 834