The Prophet ﷺ used to say during his bowing and prostration, "Glorious, Holy, Lord of the angels and the Spirit."
حدثنا مسلم بن إبراهيم حدثنا هشام حدثنا قتادة عن مطرف
أن النبي ﷺ كان يقول في ركوعه وسجوده سبوح قدوس رب الملائكة والروح
Muslim narrated it in the Book of Prayer, chapter on what is said in ruku and sujud, hadith no. 487, from the hadith of Qatada, with the same wording.