It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that he said: "The Messenger of Allah (peace and blessings be upon him) used to teach us to recite this when beginning the prayer: 'Subhanakallahumma wa bihamdika, wa tabarakasmuka, wa ta'ala jadduka, wa la ilaha ghayruka' (O Allah, You are free of all imperfection, and with Your praise; blessed is Your Name, exalted is Your majesty, and there is no god besides You).
And Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) also used to do the same.
Sayyiduna Umar (may Allah be pleased with him) used to teach us (these words) and say: 'The Messenger of Allah (peace and blessings be upon him) used to recite it as well.'"
Hadith Referenceالمعجم الأوسط / باب الألف / 1026
Hadith Gradingمحدثین:إسناده ضعيف لانقطاعه، وفيه مسعود بن سليمان مجهول
Hadith Takhrij«قال ابن رجب الحنبلي: صح هذا عن عمر بن الخطاب روي عنه من وجوه كثيرة «فتح الباري شرح صحيح البخاري لابن رجب، ج 4، ص 345»» «قال الهيثمي: أبو عبيدة لم يسمع من ابن مسعود وفيه مسعود بن سليمان قال أبو حاتم مجهول «مجمع الزوائد ومنبع الفوائد، ج 2، ص 106»» «أخرجه ابن أبي شيبة فى «مصنفه» برقم: 2406، والطبراني فى «الكبير» برقم: 10117، 10280، والطبراني فى «الأوسط» برقم: 428»