The Messenger of Allah ﷺ used to raise his hands until they were level with his shoulders, or close to that, when he said the opening takbir, when he bowed, and when he raised his head from bowing. He did not do this during the prostration.
حدثنا عبد الرزاق حدثنا معمر عن الزهري عن سالم
كان رسول الله ﷺ يرفع يديه حين يكبر حتى يكونا حذو منكبيه أو قريبا من ذلك وإذا ركع رفعهما وإذا رفع رأسه من الركعة رفعهما ولا يفعل ذلك في السجود