Ibn Mas’ud reported that the Prophet, peace be upon him, said, “If any servant of Allah afflicted with distress or grief makes this supplication, his supplication will be accepted: ‘O Allah, I am Your servant, son of Your servant, son of your maidservant. My forehead is in Your hand. Your command conceming me prevails, and Your decision concerning me is just. I call upon You by every one of the beautiful names by which You have described Yourself, or which You have revealed in Your book, or have taught anyone of Your creatures, or which You have chosen to keep in the knowledge of the unseen with You, to make the Qur’an the delight of my heart, the light of my breast, and remover of my griefs, sorrows, and afflictions‘.” A supplication in these words will be answered. Allah will remove one’s affliction and replace it with joy and happiness.
Source: Reported by Ahmad and Ibn Hibban
رَبَّنَا آتِنَا فِي الدُّنْيَا حَسَنَةً وَفِي الآخِرَةِ حَسَنَةً وَقِنَا عَذَابَ النَّارِ