اللَّهُمَّ اقْسِمْ لَنَا مِنْ خَشْيَتِكَ مَا يَحُولُ بَيْنَنَا وَبَيْنَ مَعَاصِيكَ وَمِنْ طَاعَتِكَ مَا تُبَلِّغُنَا بِهِ جَنَّتَكَ وَمِنَ الْيَقِينِ مَا تُهَوِّنُ بِهِ عَلَيْنَا مُصِيبَاتِ الدُّنْيَا وَمَتِّعْنَا بِأَسْمَاعِنَا وَأَبْصَارِنَا وَقُوَّتِنَا مَا أَحْيَيْتَنَا وَاجْعَلْهُ الْوَارِثَ مِنَّا وَاجْعَلْ ثَأْرَنَا عَلَى مَنْ ظَلَمَنَا وَانْصُرْنَا عَلَى مَنْ عَادَانَا وَلاَ تَجْعَلْ مُصِيبَتَنَا فِي دِينِنَا وَلاَ تَجْعَلِ الدُّنْيَا أَكْبَرَ هَمِّنَا وَلاَ مَبْلَغَ عِلْمِنَا وَلاَ تُسَلِّطْ عَلَيْنَا مَنْ لاَ يَرْحَمُنَا
Allāhumma-qsim lanā min khashyatika mā yaḥūlu, bainanā wa baina ma`āṣīka wa min ṭā`atika mā tuballighuna bihī jannatak, wa minal-yaqīni mā tuhawwinu bihī `alainā muṣībatid-dunyā, wa matti`na bi-asmā`inā wa abṣārina wa quwwatina mā aḥyaytanā, waj`alhul-wāritha minnā, waj`al tha’ranā `alā man ẓalamanā, wanṣurna `alā man `ādānā, wa lā taj`al muṣībatanā fī dīninā, wa lā taj`alid-dunyā akbara hamminā wa lā mablagha `ilminā, wa lā tusalliṭ `alainā man lā yarḥamunā (‘Abdullah ibn ‘Umar. Jami’ at-Tirmidhi #3502)
O Allah, grant us that fear of You which You may drive between us and our disobedience to You. Grant us that obedience to You with which You may lead us to Paradise. Give us that faith with which You will lighten the worldly hardships for us. Grant us the use of our ears, eyes, and other faculties as long as You keep us alive. And make these our survivors. Make our revenge target (only) those who oppress us. Help us to victory over the one who displays enmity to us. Do not let our misfortunes hit our religion. Do not make this world our greatest concern and the sum total of our knowledge. And do not impose over us one who shows no mercy to us.
make these our survivors: In other words may we enjoy all our faculties until we breathe our last.
Make our revenge target (only) those who oppress us: Make our revenge be limited solely to those who oppress us, and don’t make us among those who transgress in seeking their revenge and attack the innocents as well, as was customary in the Jahiliyyah period, lest we end up being wrongdoers after having been wronged (Tuhfah al-Ahwadhii).
This distinguishes revenge in Islam, which is always concerned with justice, from that in Jahiliyyah societies, ancient and modern, which are totally devoid of this concern.
Do not let our misfortunes hit our religion: Misfortunes in religion include false beliefs, consumption of haraam, and disruption of worship (Tuhfah al-Ahwadhii).
Do not make this world our greatest concern: Do not make our supreme goal and concern the obtaining of wealth and personal glory; rather make our major concern to be working for the Hereafter. This also recognizes that there are a few concerns regarding livelihood that one cannot do without and that are permitted, recommended, or even obligatory (Tuhfah al-Ahwadhii).
It was the practice of Prophet Muhammad (sallallahu alayhi wa sallem) to end his sittings with the Companions with this du’aa.
(Sources: Khalid Baig’s translation and commentary to du’aa #60 in the Accepted Whispers: Munajat-e-Maqbul; Arabic du’aa and transliteration from Jami` at-Tirmidhi 3502, Chapters on Supplication)