The Messenger of Allah ﷺ used to raise his hands opposite his shoulders when he began prayer, then he uttered takbir (Allah is most great) in the same condition, and then he bowed. And when he raised his back (head) after bowing he raised them opposite his shoulders, and said: “Allah listens to him who praises Him.” But he did not raise his hand when he prostrated himself; he rather raised them when he uttered the takbir (Allah is most great) before bowing until his prayer is finished. (Using translation from Abū Dāʾūd 722)
كَانَ رَسُولُ اللهِ ﷺ إِذَا قَامَ إِلَى الصَّلَاةِ يَرْفَعُ يَدَيْهِ حَتَّى إِذَا كَانَتَا حَذْوَ مَنْكِبَيْهِ كَبَّرَ ثُمَّ إِذَا أَرَادَ أَنْ يَرْكَعَ رَفَعَهُمَا حَتَّى يَكُونَا حَذْوَ مَنْكِبَيْهِ كَبَّرَ وَهُمَا كَذَلِكَ رَكَعَ ثُمَّ إِذَا أَرَادَ أَنْ يَرْفَعَ صُلْبَهُ رَفَعَهُمَا حَتَّى يَكُونَا حَذْوَ مَنْكِبَيْهِ ثُمَّ قَالَ سَمِعَ اللهُ لِمَنْ حَمِدَهُ ثُمَّ يَسْجُدُ وَلَا يَرْفَعُ يَدَيْهِ فِي السُّجُودِ وَيَرْفَعُهُمَا فِي كُلِّ رَكْعَةٍ وَتَكْبِيرَةٍ كَبَّرَهَا قَبْلَ الرُّكُوعِ حَتَّى تَنْقَضِيَ صَلَاتُهُ