The Messenger of Allah ﷺ said, Allah said, "I have divided the prayer between Myself and My servant into two halves, and he shall have whatever he asks. When the servant says, 'All praise belongs to Allah, Lord of the worlds' [Fatihah 1:2], Allah says, 'My servant has praised Me.' When he says, 'the Most Compassionate, the Most Merciful' [Fatihah 1:3], Allah says, 'My servant has extolled Me.' When he says, 'Master of the Day of Judgment' [Fatihah 1:4], Allah says, 'My servant has glorified Me.' This portion is Mine, and what remains is his."
قال رسول الله ﷺ: قال الله عز وجل: قسمت الصلاة بيني وبين عبدي نصفين، وله ما سأل، فإذا قال العبد: {الحمد لله رب العلمين}، قال: حمدني عبدي، وإذا قال: {الرحمن الرحيم}، قال: أثنى علي عبدي، وإذا قال: {ملك يوم الدين}، قال: مجدني عبدي، قال هذا لي، وله ما بقي.
Tabari narrated it in his Tafsir (1/202-203) from Salih bin Mismar Marwazi, who said, Zayd bin Hubab told us, who said, Anbasah bin Saeed told us, from Mutarrif bin Tareef, from Saad bin Ishaq bin Kaab bin Ujra, from Jabir, and he mentioned it.Its isnad is hasan because of Salih bin Mismar and his shaikh Zayd bin Hubab, for both of them are hasan narrators of hadith.The words of Allah Most High, "not the path of those who have earned Your anger nor of those who have gone astray" [Fatihah 1:7].