I saw the Messenger of Allah ﷺ, when he stood for prayer, raise his hands until they were level with his shoulders. He would do this when he said the takbir for bowing, and he would do it when he raised his head from bowing, saying, "Allah hears whoever praises Him." But he would not do it during prostration.
حدثنا محمد بن مقاتل قال أخبرنا عبد الله قال أخبرنا يونس عن الزهري أخبرني سالم بن عبد الله
رأيت رسول الله ﷺ إذا قام في الصلاة رفع يديه حتى يكونا حذو منكبيه وكان يفعل ذلك حين يكبر للركوع ويفعل ذلك إذا رفع رأسه من الركوع ويقول سمع الله لمن حمده ولا يفعل ذلك في السجود