Abu Hurairah reported,

I heard the Messenger of Allah ﷺ say, "Allah عز وجل said, 'I have divided the prayer between Myself and My servant into two halves, half of it is for Me and half for My servant, and My servant shall have what he asks for.'"The Messenger of Allah ﷺ then said, "Recite. The servant says, 'All praise is due to Allah, Lord of the worlds' [Fatihah 1:2], and Allah عز وجل says, 'My servant has praised Me, and My servant shall have what he asks for.'The servant says, 'The Most Compassionate, the Most Merciful' [Fatihah 1:3], and Allah says, 'My servant has extolled Me, and My servant shall have what he asks for.'The servant says, 'Master of the Day of Judgment' [Fatihah 1:4], and Allah says, 'My servant has glorified Me. This is for Me.'This verse is shared between Me and My servant in halves. The servant says, 'You alone we worship, and You alone we ask for help' [Fatihah 1:5], meaning this is between Me and My servant, and My servant shall have what he asks for.The end of the surah is for My servant. The servant says, 'Guide us to the straight path, the path of those upon whom You have bestowed favor, not of those who have incurred wrath, nor of those who have gone astray' [Fatihah 1:6–7]. This is for My servant, and My servant shall have what he asks for."

Ibn Majah 3784

Sahih

حدثنا أبو مروان محمد بن عثمان العثماني حدثنا عبد العزيز بن أبي حازم عن العلاء بن عبد الرحمن عن أبيه

عن أبي هريرة قال

سمعت رسول الله ﷺ يقول قال الله عز وجل قسمت الصلاة بيني وبين عبدي شطرين فنصفها لي ونصفها لعبدي ولعبدي ما سأل قال فقال رسول الله ﷺ اقرءوا يقول العبد {الحمد لله رب العالمين} فيقول الله عز وجل حمدني عبدي ولعبدي ما سأل فيقول {الرحمن الرحيم} فيقول أثنى علي عبدي ولعبدي ما سأل يقول {مالك يوم الدين} فيقول الله مجدني عبدي فهذا لي وهذه الآية بيني وبين عبدي نصفين يقول العبد {إياك نعبد وإياك نستعين} يعني فهذه بيني وبين عبدي ولعبدي ما سأل وآخر السورة لعبدي يقول العبد {اهدنا الصراط المستقيم صراط الذين أنعمت عليهم غير المغضوب عليهم ولا الضالين} فهذا لعبدي ولعبدي ما سأل

ابن ماجه 3784صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Manners
Chapter
Reward of the Quran
Numbering
Darussalam 3784
Ibn Majah 3784