اللَّهُمَّ اجْعَلْ خَيْرَ عُمُرِي آخِرَهُ وَخَيْرَ عَمَلِي خَوَاتِمَهُ وَخَيْرَ أَيَّامِي يَوْمَ أَلْقَاكَ
Allahummaj'al khayra 'umuri akhirahu, wa khayra 'amali khawatimahu, wa khayra ayyami yawma alqak
O Allah, make the best of my life its last part, the best of my deeds their conclusions, and the best of my days the day I meet You.
This du'a asks for a good ending — that our final chapter be our best chapter. The Prophet ﷺ said: "Actions are judged by their endings" (Sahih al-Bukhari 6493). A life that ends well, with good deeds and faith, is the greatest success.
Related Du'as
اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنْ فِتْنَةِ الْقَبْرِ وَمِنْ عَذَابِ الْقَبْرِ
O Allah, I seek refuge in You from the trial of the grave and from the punishment of the grave.
Sahihاللَّهُمَّ أَجِرْنِي مِنَ النَّارِ، اللَّهُمَّ أَجِرْنِي مِنَ النَّارِ، اللَّهُمَّ أَجِرْنِي مِنَ النَّارِ، اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنَ النَّارِ
O Allah, save me from the Fire. O Allah, save me from the Fire. O Allah, save me from the Fire. O Allah, I seek refuge in You from the Fire.
Sahihاللَّهُمَّ إِنْ كَانَ مُحْسِنًا فَزِدْ فِي إِحْسَانِهِ وَإِنْ كَانَ مُسِيئًا فَتَجَاوَزْ عَنْ سَيِّئَاتِهِ
O Allah, if he was a doer of good, then increase his good deeds, and if he was a wrongdoer, then overlook his misdeeds.
Hasanاللَّهُمَّ اغْفِرْ لَهُ وَارْفَعْ دَرَجَتَهُ فِي الْمَهْدِيِّينَ وَافْسَحْ لَهُ فِي قَبْرِهِ وَنَوِّرْ لَهُ فِيهِ
O Allah, forgive him, raise his rank among the guided, make his grave spacious, and illuminate it for him.
Sahih