Abdullah bin Amr bin As reported,

He heard the Messenger of Allah ﷺ say, "The hearts of the children of Adam are all between two of the fingers of the Most Merciful, as one heart, which He turns however He wills."Then the Messenger of Allah ﷺ said, "O Allah, Turner of hearts, turn our hearts toward Your obedience."

Azami 350

Sahih

عن عبد الله بن عمرو قال

إنه سمع رسول الله ﷺ يقول: إن قلوب بني آدم كلها بين إصبعين من أصابع الرحمن، كقلب واحد يصرفه حيث يشاء. ثم قال رسول الله ﷺ: اللهم مصرف القلوب صرف قلوبنا على طاعتك.

الأعظمي 350صحيح
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 350 (2nd edition)
Azami 350