Abdullah ibn Mas’ud reported: The Messenger of Allah, peace and blessings be upon him, said, “Never is a servant 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.” They said, “O Messenger of Allah, should we study these words?” The Prophet said, “Of course, whoever hears them should study them.”
Source: Ṣaḥīḥ Ibn Ḥibbān 972
Grade: Sahih (authentic) according to Al-Arna’ut
عَنْ عَبْدِ اللهِ بْنِ مَسْعُودٍ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَا قَالَ عَبْدٌ قَطُّ إِذَا أَصَابَهُ هَمٌّ أَوْ حُزْنٌ اللَّهُمَّ إِنِّي عَبْدُكَ ابْنُ عَبْدِكَ ابْنُ أَمَتِكَ نَاصِيَتِي بِيَدِكَ مَاضٍ فِيَّ حُكْمُكَ عَدْلٌ فِيَّ قَضَاؤُكَ أَسْأَلُكَ بِكُلِّ اسْمٍ هُوَ لَكَ سَمَّيْتَ بِهِ نَفْسَكَ أَوْ أَنْزَلْتَهُ فِي كِتَابِكَ أَوْ عَلَّمْتَهُ أَحَدًا مِنْ خَلْقِكَ أَوِ اسْتَأْثَرْتَ بِهِ فِي عِلْمِ الْغَيْبِ عِنْدَكَ أَنْ تَجْعَلَ الْقُرْآنَ رَبِيعَ قَلْبِي وَنُورَ بَصَرِي وَجِلَاءَ حُزْنِي وَذَهَابَ هَمِّي إِلَّا أَذْهَبَ اللَّهُ هَمَّهُ وَأَبْدَلَهُ مَكَانَ حُزْنِهِ فَرَحًا قَالُوا يَا رَسُولَ اللَّهِ يَنْبَغِي لَنَا أَنْ نَتَعَلَّمَ هَذِهِ الْكَلِمَاتِ قَالَ أَجَلْ يَنْبَغِي لِمَنْ سَمِعَهُنَّ أَنْ يَتَعَلَّمَهُنَّ
972 صحيح ابن حبان باب الأدعية ذكر الأمر لمن أصابه حزن أن يسأل الله ذهابه عنه وإبداله إياه فرحا
3/253 المحدث شعيب الأرناؤوط خلاصة حكم المحدث إسناده صحيح في تخريج صحيح ابن حبان