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 chapter on Divine Decree (2654) through several routes from Abdullah bin Yazid Muqri, who said, Haywa narrated to us, Abu Hani told me that he heard Abu Abdul-Rahman Hubli, who heard Abdullah bin Amr bin As say, then he mentioned it.