Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tabarani:20182ʿAlī b. ʿAbd al-ʿAzīz > Ḥajjāj b. Minhāl > ʿAbd al-Ḥamīd b. Bahrām > Shahr b. Ḥawshab > Um Salamah

[Machine] The Messenger of Allah ﷺ used to frequently say, "O Turner of hearts, keep my heart steadfast on your religion." I said, "O Messenger of Allah, indeed hearts are prone to fluctuation." He replied, "Yes, every son of Adam that Allah has created has a heart between two fingers of the fingers of Allah, and He can turn it as He wishes. We ask Allah, our Lord, not to cause our hearts to deviate after He has guided us, and we ask Him to bestow upon us mercy from Him for He is the Bestower." I said, "O Messenger of Allah, teach me a supplication that I can make for myself." He said, "Say: 'O Allah, forgive my sins and remove the anger in my heart, and protect me from the misguidance of tribulations.'"  

الطبراني:٢٠١٨٢حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ الْعَزِيزِ ثنا حَجَّاجُ بْنُ مِنْهَالٍ ثنا عَبْدُ الْحَمِيدِ بْنُ بَهْرَامَ ثنا شَهْرُ بْنُ حَوْشَبٍ قَالَ سَمِعْتُ أُمَّ سَلَمَةَ قَالَتْ

إِنَّ رَسُولَ اللهِ ﷺ كَانَ يُكْثِرُ أَنْ يَقُولَ «يَا مُقَلِّبَ الْقُلُوبِ ثَبِّتْ قَلْبِي عَلَى دِينِكَ» قَالَتْ قُلْتُ يَا رَسُولَ اللهِ وَإِنَّ الْقُلُوبَ لَتَتَقَلَّبُ قَالَ «نَعَمْ مَا خَلَقَ اللهُ مِنْ بَنِي آدَمَ مِنْ بَشَرٍ إِلَّا وَقَلْبُهُ بَيْنَ أُصْبُعَيْنِ مِنْ أَصَابِعِ اللهِ إِنْ شَاءَ أَقَامَهُ وَإِنْ شَاءَ أَزَاغَهُ فَنَسْأَلُ اللهَ رَبَّنَا أَنْ لَا يُزِيغَ قُلُوبَنَا بَعْدَ إِذْ هَدَانَا وَنَسْأَلُهُ أَنْ يَهَبَ لَنَا مِنْ لَدُنْهُ رَحْمَةً إِنَّهُ هُوَ الْوَهَّابُ» قُلْتُ يَا رَسُولَ اللهِ فَعَلِّمْنِي دُعَاءً أَدْعُو بِهِ لِنَفْسِي قَالَ «قُولِي اللهُمَّ اغْفِرْ لِي ذَنْبِي وَأَذْهِبْ غَيْظَ قَلْبِي وَأَجِرْنِي مِنْ مُضِلَّاتِ الْفِتَنِ»  


See similar narrations below:

Collected by Tirmidhī, Aḥmad
tirmidhi:3522Abū Mūsá al-Anṣārī > Muʿādh b. Muʿādh > Abū Kaʿb Ṣāḥib al-Ḥarīr > Shahr b. Ḥawshab

“I said to Umm Salamah: ‘O Mother of the Believers! What was the supplication that the Messenger of Allah ﷺ said most frequently when he was with you?” She said: ‘The supplication he said most frequently was: “O Changer of the hearts, make my heart firm upon Your religion (Yā Muqallibal-qulūb, thabbit qalbī ʿalā dīnik).’” She said: ‘So I said: “O Messenger of Allah, why do you supplicate so frequently: ‘O Changer of the hearts, make my heart firm upon Your religion.’ He said: ‘O Umm Salamah! Verily, there is no human being except that his heart is between Two Fingers of the Fingers of Allah, so whomsoever He wills He makes steadfast, and whomever He wills He causes to deviate.’”  

الترمذي:٣٥٢٢حَدَّثَنَا أَبُو مُوسَى الأَنْصَارِيُّ حَدَّثَنَا مُعَاذُ بْنُ مُعَاذٍ عَنْ أَبِي كَعْبٍ صَاحِبِ الْحَرِيرِ حَدَّثَنِي شَهْرُ بْنُ حَوْشَبٍ قَالَ

قُلْتُ لأُمِّ سَلَمَةَ يَا أُمَّ الْمُؤْمِنِينَ مَا كَانَ أَكْثَرُ دُعَاءِ رَسُولِ اللَّهِ ﷺ إِذَا كَانَ عِنْدَكِ قَالَتْ كَانَ أَكْثَرُ دُعَائِهِ يَا مُقَلِّبَ الْقُلُوبِ ثَبِّتْ قَلْبِي عَلَى دِينِكَ قَالَتْ قُلْتُ يَا رَسُولَ اللَّهِ مَا لأَكْثَرِ دُعَائِكَ يَا مُقَلِّبَ الْقُلُوبِ ثَبِّتْ قَلْبِي عَلَى دِينِكَ قَالَ يَا أُمَّ سَلَمَةَ إِنَّهُ لَيْسَ آدَمِيٌّ إِلاَّ وَقَلْبُهُ بَيْنَ أُصْبُعَيْنِ مِنْ أَصَابِعِ اللَّهِ فَمَنْ شَاءَ أَقَامَ وَمَنْ شَاءَ أَزَاغَ فَتَلاَ مُعَاذٌ ( ربَّنَا لاَ تُزِغْ قُلُوبَنَا بَعْدَ إِذْ هَدَيْتَنَا ) قَالَ وَفِي الْبَابِ عَنْ عَائِشَةَ وَالنَّوَّاسِ بْنِ سَمْعَانَ وَأَنَسٍ وَجَابِرٍ وَعَبْدِ اللَّهِ بْنِ عَمْرٍو وَنُعَيْمِ بْنِ هَمَّارٍ قَالَ وَهَذَا حَدِيثٌ حَسَنٌ  

ahmad:26576Hāshim > ʿAbd al-Ḥamīd > Shahr > Um Salamah Tuḥaddith

[Machine] The Messenger of Allah used to frequently supplicate, saying, "O Allah, the Turner of hearts, make my heart steadfast upon Your religion." I asked, "O Messenger of Allah, do hearts really change?" He replied, "Yes, indeed. There is no person from the offspring of Adam except that their heart is between two of the fingers of Allah. If He wills, He keeps it firm, and if He wills, He deviates it. So, we ask Allah, our Lord, not to let our hearts deviate after He has guided us, and we ask Him to bestow upon us from His mercy, for He is the Bestower." I asked, "O Messenger of Allah, can you teach me a supplication that I can make for myself?" He said, "Certainly, say, 'O Allah, Lord of Muhammad, forgive my sins and remove the anger from my heart and protect me from the misguidance of trials as long as You keep me alive.'"  

أحمد:٢٦٥٧٦حَدَّثَنَا هَاشِمٌ حَدَّثَنَا عَبْدُ الْحَمِيدِ قَالَ حَدَّثَنِي شَهْرٌ قَالَ سَمِعْتُ أُمَّ سَلَمَةَ تُحَدِّثُ

أَنَّ رَسُولَ اللهِ ﷺ كَانَ يُكْثِرُ فِي دُعَائِهِ أَنْ يَقُولَ اللهُمَّ مُقَلِّبَ الْقُلُوبِ ثَبِّتْ قَلْبِي عَلَى دِينِكَ قَالَتْقُلْتُ يَا رَسُولَ اللهِ أَوَ إِنَّ الْقُلُوبَ لَتَتَقَلَّبُ؟ قَالَ نَعَمْ مَا مِنْ خَلْقِ اللهِ مِنْ بَنِي آدَمَ مِنْ بَشَرٍ إِلَّا أَنَّ قَلْبَهُ بَيْنَ أُصْبُعَيْنِ مِنْ أَصَابِعِ اللهِ فَإِنْ شَاءَ اللهُ ﷻ أَقَامَهُ وَإِنْ شَاءَ أَزَاغَهُ فَنَسْأَلُ اللهَ رَبَّنَا أَنْ لَا يُزِيغَ قُلُوبَنَا بَعْدَ إِذْ هَدَانَا وَنَسْأَلُهُ أَنْ يَهَبَ لَنَا مِنْ لَدُنْهُ رَحْمَةً إِنَّهُ هُوَ الْوَهَّابُ قَالَتْ قُلْتُ يَا رَسُولَ اللهِ أَلَا تُعَلِّمُنِي دَعْوَةً أَدْعُو بِهَا لِنَفْسِي؟ قَالَ بَلَى قُولِي اللهُمَّ رَبَّ النَّبِيِّ مُحَمَّدٍ اغْفِرْ لِي ذَنْبِي وَأَذْهِبْ غَيْظَ قَلْبِي وَأَجِرْنِي مِنْ مُضِلَّاتِ الْفِتَنِ مَا أَحْيَيْتَنَا