Glorifying Allah in bowing and prostration

In ruku the Prophet ﷺ said Subhana Rabbiyal-Azim, and in sujud Subhana Rabbiyal-A'la.

Narrated by Hudhaifah ibn al-Yaman

I prayed with the Prophet ﷺ one night ... then he bowed and began saying: "Subhana Rabbiyal-Azim" (Glory be to my Lord, the Most Great) ... then he prostrated and said: "Subhana Rabbiyal-A'la" (Glory be to my Lord, the Most High).

Sahih Muslim 772

What this hadith teaches

These are the basic words of bowing and prostration, usually said three times or more.

Reference and grade

Grade
Sahih (in Sahih Muslim)
Narrator
Hudhaifah ibn al-Yaman

The hadith in Arabic نص الحديث

سُبْحَانَ رَبِّيَ الْعَظِيمِ ‏"‏ ‏.‏ فَكَانَ رُكُوعُهُ نَحْوًا مِنْ قِيَامِهِ ثُمَّ قَالَ ‏"‏ سَمِعَ اللَّهُ لِمَنْ حَمِدَهُ ‏"‏ ‏.‏ ثُمَّ قَامَ طَوِيلاً قَرِيبًا مِمَّا رَكَعَ ثُمَّ سَجَدَ فَقَالَ ‏"‏ سُبْحَانَ رَبِّيَ الأَعْلَى ‏"‏ ‏.‏ فَكَانَ سُجُودُهُ قَرِيبًا مِنْ قِيَامِهِ

Arabic text of Sahih Muslim 772, as given on sunnah.com.