Umm Salama bint Abu Umaya reported,

The Messenger of Allah ﷺ frequently said in his supplication, "O Allah, Turner of hearts, keep my heart firm upon Your religion."She said, "I asked, 'Messenger of Allah, do hearts truly turn?'"He replied, "Yes. There is no human being whom Allah created from the children of Adam whose heart is not between two of the fingers of Allah. If Allah عز وجل wills, He keeps it firm, 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 grant us mercy from Himself. Indeed, He is the Bestower."She said, "I asked, 'Messenger of Allah, will you not teach me a supplication to make for myself?'"He answered, "Of course. Say, 'O Allah, Lord of the Prophet Muhammad, forgive me my sins, remove the rage from my heart, and protect me from the misleading trials for as long as You keep me alive.'"

Azami 11367

Hasan

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

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

الأعظمي 11367حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Comprehensive and general supplications
Section
Miscellaneous on supplication
Numbering
Jami al-Kamil 11367 (2nd edition)
Azami 11367