Abdullah ibn Mas’ud reported: The Messenger of Allah, peace and blessings be upon him, said, “A servant is not struck by worry or grief but let him say, ‘O Allah, I am Your servant, the son of Your servant, the son of Your maidservant. My forelock is in Your hand, Your decision over me has passed, and Your decree upon me is in justice. I ask You by every name with which You have named Yourself, or revealed in Your Book, or taught to one of Your creatures, or kept hidden in the Unseen with You, that You make the Quran the spring of my heart, the light within me, the banisher of my depression, and the expeller of my anxiety,’ then Allah will expel his worry and replace his grief with joy.” It was said, “O Messenger of Allah, shall we not study these words?” The Prophet said, “Of course, whoever hears them should study them.”
Source: Musnad Aḥmad 3712
Grade: Sahih (authentic) according to Al-Albani
عَنْ عَبْدِ اللهِ بْنِ مَسْعُودٍ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَا أَصَابَ أَحَدًا قَطُّ هَمٌّ وَلَا حَزَنٌ فَقَالَ اللَّهُمَّ إِنِّي عَبْدُكَ وَابْنُ عَبْدِكَ وَابْنُ أَمَتِكَ نَاصِيَتِي بِيَدِكَ مَاضٍ فِيَّ حُكْمُكَ عَدْلٌ فِيَّ قَضَاؤُكَ أَسْأَلُكَ بِكُلِّ اسْمٍ هُوَ لَكَ سَمَّيْتَ بِهِ نَفْسَكَ أَوْ عَلَّمْتَهُ أَحَدًا مِنْ خَلْقِكَ أَوْ أَنْزَلْتَهُ فِي كِتَابِكَ أَوْ اسْتَأْثَرْتَ بِهِ فِي عِلْمِ الْغَيْبِ عِنْدَكَ أَنْ تَجْعَلَ الْقُرْآنَ رَبِيعَ قَلْبِي وَنُورَ صَدْرِي وَجِلَاءَ حُزْنِي وَذَهَابَ هَمِّي إِلَّا أَذْهَبَ اللَّهُ هَمَّهُ وَحُزْنَهُ وَأَبْدَلَهُ مَكَانَهُ فَرَجًا قَالَ فَقِيلَ يَا رَسُولَ اللَّهِ أَلَا نَتَعَلَّمُهَا فَقَالَ بَلَى يَنْبَغِي لِمَنْ سَمِعَهَا أَنْ يَتَعَلَّمَهَا
3712 مسند أحمد بن حنبل
199 المحدث الألباني خلاصة حكم المحدث صحيح في السلسلة الصحيحة