The Messenger of Allah ﷺ used to raise his hands when he began the prayer, when he bowed, and when he rose from bowing, but he did not do so during prostration.
أخبرنا محمد بن عبيد الكوفي المحاربي قال حدثنا ابن المبارك عن معمر عن الزهري عن سالم
كان رسول الله ﷺ يرفع يديه إذا افتتح الصلاة وإذا ركع وإذا رفع وكان لا يفعل ذلك في السجود