[Machine] The Messenger of Allah ﷺ used to frequently make the following supplication: "O Turner of hearts, keep my heart steadfast on your religion." She (the narrator) said: So, I (also) said: O Messenger of Allah, indeed you frequently make this supplication. He (the Prophet) said: Verily, the heart of a person is between two fingers of Allah. So, He turns it as He wills, and He establishes it as He wills.
دَعَوَاتٌ كَانَ رَسُولُ اللهِ ﷺ يُكْثِرُ أَنْ يَدْعُوَ بِهَا يَا مُقَلِّبَ الْقُلُوبِ ثَبِّتْ قَلْبِي عَلَى دِينِكَ قَالَتْ فَقُلْتُ يَا رَسُولَ اللهِ إِنَّكَ تُكْثِرُ تَدْعُو بِهَذَا الدُّعَاءِ فَقَالَ إِنَّ قَلْبَ الْآدَمِيِّ بَيْنَ أُصْبُعَيْنِ مِنْ أَصَابِعِ اللهِ ﷻ فَإِذَا شَاءَ أَزَاغَهُ وَإِذَا شَاءَ أَقَامَهُ