Sunan Ibn Majah, Book 5, Hadith 86 (Ibn Majah 888)

It was narrated from Hudhaifah bin Al-Yaman that he heard the Messenger of Allah (ﷺ) say when he bowed:

“Subhana Rabbiyal-‘Azim (Glory is to my Lord, the Most Great)” three times, and when he prostrated he said: “Subhana Rabbiyal-A’la (Glory is to my Lord the Most High)” three times.