Abdullāh narrated: The Messenger of Allāh, peace be upon him, said, “If any Muslim is afflicted with distress and makes this supplication, then his supplication will be answered: O Allāh, I am Your servant, son of Your servant, son of Your maidservant. My forelock is in Your hand. Your command concerning me prevails, and Your decision concerning me is just. I call upon You by every one of the beautiful names with 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 off the Unseen with You, to make the Qurān the delight of my heart, the light of my chest, and remove any grief, sorrows, and afflictions.” He said, “[If he says this] Allāh will remove one’s affliction and replace it with joy and happiness.” They said, “O Messenger of Allāh, should we not learn it?” He said, “Yes, whoever hears it should know it.”
[Musnad Ahmad, Number 3704]
عَنْ عَبْدِ اللَّهِ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَا
أَصَابَ أَحَدًا قَطُّ هَمٌّ وَلَا حَزَنٌ فَقَالَ اللَّهُمَّ إِنِّي
عَبْدُكَ وَابْنُ عَبْدِكَ وَابْنُ أَمَتِكَ نَاصِيَتِي بِيَدِكَ مَاضٍ
فِيَّ حُكْمُكَ عَدْلٌ فِيَّ قَضَاؤُكَ أَسْأَلُكَ بِكُلِّ اسْمٍ هُوَ لَكَ
سَمَّيْتَ بِهِ نَفْسَكَ أَوْ عَلَّمْتَهُ أَحَدًا مِنْ خَلْقِكَ أَوْ
أَنْزَلْتَهُ فِي كِتَابِكَ أَوْ اسْتَأْثَرْتَ بِهِ فِي عِلْمِ الْغَيْبِ
عِنْدَكَ أَنْ تَجْعَلَ الْقُرْآنَ رَبِيعَ قَلْبِي وَنُورَ صَدْرِي
وَجِلَاءَ حُزْنِي وَذَهَابَ هَمِّي إِلَّا أَذْهَبَ اللَّهُ هَمَّهُ
وَحُزْنَهُ وَأَبْدَلَهُ مَكَانَهُ فَرَجًا قَالَ فَقِيلَ يَا رَسُولَ اللَّهِ أَلَا نَتَعَلَّمُهَا فَقَالَ بَلَى يَنْبَغِي لِمَنْ سَمِعَهَا أَنْ يَتَعَلَّمَهَا