Sunan Ibn Majah, Volume 2, Book 5, Hadith 888 (DarusSalam) ⓘ
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.
حَدَّثَنَا مُحَمَّدُ بْنُ رُمْحٍ الْمِصْرِيُّ، أَنْبَأَنَا ابْنُ لَهِيعَةَ، عَنْ عُبَيْدِ اللَّهِ بْنِ أَبِي جَعْفَرٍ، عَنْ أَبِي الأَزْهَرِ، عَنْ حُذَيْفَةَ بْنِ الْيَمَانِ، أَنَّهُ سَمِعَ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ يَقُولُ إِذَا رَكَعَ " سُبْحَانَ رَبِّيَ الْعَظِيمِ " . ثَلاَثَ مَرَّاتٍ وَإِذَا سَجَدَ قَالَ " سُبْحَانَ رَبِّيَ الأَعْلَى " . ثَلاَثَ مَرَّاتٍ .
also referenced under: Hadith 888 (Reference) & Book 5, Hadith 938 (In-Book)