When "Glorify the name of your mighty Lord" was revealed, the Messenger of Allah ﷺ said: Use it when bowing, and when "Glorify the name of your most high Lord" was revealed, he said: Use it when prostrating yourself. (Using translation from Abū Dāʾūd 869)
لَمَّا نَزَلَتْ {فَسَبِّحْ بِاسْمِ رَبِّكَ الْعَظِيمِ} [الواقعة 74] قَالَ لَنَا رَسُولُ اللَّهِ ﷺ «اجْعَلُوهَا فِي رُكُوعِكُمْ» فَلَمَّا نَزَلَتْ {سَبِّحِ اسْمَ رَبِّكَ الْأَعْلَى} [الأعلى 1] قَالَ لَنَا رَسُولُ اللَّهِ ﷺ «اجْعَلُوهَا فِي سُجُودِكُمْ»