Abdullah b. Amr b. al-‘As reported that he heard Allah’s Messenger (صلى الله عليه وسلم) as saying: “Verily, the hearts of all the sons of Adam are between the two fingers out of the fingers of the Compassionate Lord as one heart. He turns that to any (direction) He likes”. Then Allah’s Messenger (صلى الله عليه وسلم) said: “O Allah, the Turner of the hearts, turn our hearts to Your obedience.”
Reference: Sahih Muslim 2655
اللَّهُمَّ مُصَرِّفَ الْقُلُوبِ صَرِّفْ قُلُوبَنَا عَلَى طَاعَتِكَ
Allāhumma Musarrif al-Qulūbi Sarrif Qulūbana ‘alā Tā’atika
O Allah, Turner of the hearts, direct our hearts to Your obedience.