Umm Salama bint Abu Umaya reported,

The Messenger of Allah ﷺ used to say frequently in his supplication, "O Allah, Turner of hearts, make my heart firm upon Your religion."She said, "I asked, 'Messenger of Allah, do hearts really turn?'"He replied, "Yes. There is no human being whom Allah has created from the children of Adam whose heart is not between two of the fingers of Allah. If Allah عز وجل wills, He keeps it upright, and if He wills, He turns it astray. So we ask Allah our Lord not to turn our hearts astray after He has guided us, and we ask Him to bestow upon us mercy from Himself. Indeed, He is the Bestower."She said, "I asked, 'Messenger of Allah, will you not teach me a supplication that I may make for myself?'"He answered, "Of course. Say, 'O Allah, Lord of the Prophet Muhammad, forgive my sin, remove the rage of my heart, and protect me from the misleading trials for as long as You keep us alive.'"

Azami 353

Hasan

عن أم سلمة قالت

كان رسول الله ﷺ يكثر في دعائه أن يقول: اللهم مقلب القلوب، ثبت قلبي على دينك. قالت: قلت: يا رسول الله، أو إن القلوب لتتقلب؟ قال: نعم، ما من خلق الله من بني آدم من بشر إلا أن قلبه بين إصبعين من أصابع الله، فإن شاء الله عز وجل أقامه، وإن شاء أزاغه، فنسأل الله ربنا أن لا يزيغ قلوبنا بعد إذ هدانا، ونسأله أن يهب لنا من لدنه رحمة، إنه هو الوهاب. قالت: قلت: يا رسول الله، ألا تعلمني دعوة أدعو بها لنفسي؟ قال: بلى، قولي: اللهم رب النبي محمد اغفر ذنبي، وأذهب غيظ قلبي، وأجرني من مضلات الفتن ما أحييتنا.

الأعظمي 353حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Faith in Allah عز وجل
Section
Affirmation of fingers for Allah the Exalted
Numbering
Jami al-Kamil 353 (2nd edition)
Azami 353