Hadithcore
Al-Adab Al-Mufrad, 668
sahih· Al-Albani

Abu Hurayra reported, "The Messenger of , (ﷺ), used to use this supplication:

'O Allah, make my deen correct - it is the support of my affairs. Make my deen correct - it contains my livelihood. Make death a mercy for me from every evil.'"

حَدَّثَنَا يَحْيَى بْنُ بِشْرٍ، قَالَ‏:‏ حَدَّثَنَا أَبُو قَطَنٍ، عَنِ ابْنِ أَبِي سَلَمَةَ يَعْنِي عَبْدَ الْعَزِيزِ، عَنْ قُدَامَةَ بْنِ مُوسَى، عَنْ أَبِي صَالِحٍ، عَنْ أَبِي هُرَيْرَةَ قَالَ‏:‏ كَانَ رَسُولُ اللهِ صلى الله عليه وسلم يَدْعُو‏:‏ اللَّهُمَّ أَصْلِحْ لِي دِينِي الَّذِي هُوَ عِصْمَةُ أَمْرِي، وَأَصْلِحْ لِي دُنْيَايَ الَّتِي فِيهَا مَعَاشِي، وَاجْعَلِ الْمَوْتَ رَحْمَةً لِي مِنْ كُلِّ سُوءٍ، أَوْ كَمَا قَالَ‏.‏

References2 variants
In-Book Reference
Book 31, Hadith 65
English Reference
Book 31, Hadith 668