TABARANI 1197:
from Busr b. Arṭāh —
[Machine] I heard the Prophet ﷺ say, "O Allah, make the end of all my affairs good, and save me from the humiliation of this world and the punishment of the hereafter." And he said, "Whoever makes this his supplication and dies before being afflicted with a calamity, will have died a martyr."
الطبراني ١١٩٧:
عن بسر بن ارطاه —
سَمِعْتُ النَّبِيَّ ﷺ يَقُولُ «اللهُمَّ أَحْسِنْ عَاقِبَتِي فِي الْأُمُورِ كُلِّهَا وَأَجِرْنِي مِنْ خِزْيِ الدُّنْيَا وَعَذَابِ الْآخِرَةِ» وَقَالَ «مَنْ كَانَ ذَلِكَ دُعَاءَهُ مَاتَ قَبْلَ أَنْ يُصِيبَهُ الْبَلَاءُ»
hadithunlocked.com