When the Messenger of Allah ﷺ began the prayer, he would raise his hands level with his shoulders, and when he raised his head from ruku he would raise them in the same way, saying, "Allah hears whoever praises Him. Our Lord, and to You belongs all praise." But he would not do this in sujud.
حدثني يحيى عن مالك عن ابن شهاب عن سالم بن عبد الله
أن رسول الله ﷺ كان إذا افتتح الصلاة رفع يديه حذو منكبيه وإذا رفع رأسه من الركوع رفعهما كذلك أيضا وقال سمع الله لمن حمده ربنا ولك الحمد وكان لا يفعل ذلك في السجود