He reported that 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, like a single heart, which He turns however He wills."Then the Messenger of Allah ﷺ said, "Allah, Turner of hearts, turn our hearts toward Your obedience."
يقول: أنه سمع رسول الله ﷺ يقول: إن قلوب بني آدم كلها بين إصبعين من أصابع الرحمن، كقلب واحد، يصرفه حيث يشاء ثم قال رسول الله ﷺ: اللهم مصرف القلوب صرف قلوبنا على طاعتك.
Muslim narrated it in the Book of Qadar (2654) through various routes from Abdullah bin Yazid Muqri, who said, Haywa narrated to us, Abu Hani informed me, that he heard Abu Abdul-Rahman Hubli, that he heard Abdullah bin Amr bin As say it, as mentioned.