[Machine] The Prophet ﷺ used to raise his hands when saying takbir (Allahu Akbar) in prayer, until they were level with his shoulders or close to that. And when he went into ruku' (bowing), he raised them, and when he raised his head from ruku', he raised them too. However, he did not do this during sujud (prostration).
كَانَ رَسُولُ اللهِ ﷺ يَرْفَعُ يَدَيْهِ حِينَ يُكَبِّرُحَتَّى يَكُونَا حَذْوَ مَنْكِبَيْهِ أَوْ قَرِيبًا مِنْ ذَلِكَ وَإِذَا رَكَعَ رَفَعَهُمَا وَإِذَا رَفَعَ رَأْسَهُ مِنَ الرَّكْعَةِ رَفَعَهُمَا وَلَا يَفْعَلُ ذَلِكَ فِي السُّجُودِ