When the Messenger of Allah ﷺ started to pray, he raised his hands until they were in level with his shoulders, and when he said the takbir before bowing, and when he raised his head from bowing he raised (his hands) likewise, and said: "Sami Allahu liman hamidah Rabbana wa lakal-hamd (Allah hears the one who praises Him; Our Lord, and to You be praise)," and he did not do that when prostrating.
أَنَّ رَسُولَ اللَّهِ ﷺ كَانَ إِذَا افْتَتَحَ الصَّلاَةَ رَفَعَ يَدَيْهِ حَذْوَ مَنْكِبَيْهِ وَإِذَا كَبَّرَ لِلرُّكُوعِ وَإِذَا رَفَعَ رَأْسَهُ مِنَ الرُّكُوعِ رَفَعَهُمَا كَذَلِكَ أَيْضًا وَقَالَ سَمِعَ اللَّهُ لِمَنْ حَمِدَهُ رَبَّنَا وَلَكَ الْحَمْدُ وَكَانَ لاَ يَفْعَلُ ذَلِكَ فِي السُّجُودِ