Uqba bin Amir reported,

When the verse "So glorify the name of your Lord, the Most Great" [Waqiah 56:74] was revealed, the Messenger of Allah ﷺ said to us, "Place this in your bowing." Then when the verse "Glorify the name of your Lord, the Most High" [Ala 87:1] was revealed, the Messenger of Allah ﷺ said to us, "Place this in your prostration."

Ibn Majah 887

Sahih

حدثنا عمرو بن رافع البجلي حدثنا عبد الله بن المبارك عن موسى بن أيوب الغافقي قال سمعت عمي إياس بن عامر يقول سمعت

عقبة بن عامر الجهني يقول

لما نزلت {فسبح باسم ربك العظيم} قال لنا رسول الله ﷺ اجعلوها في ركوعكم فلما نزلت {سبح اسم ربك الأعلى} قال لنا رسول الله ﷺ اجعلوها في سجودكم

ابن ماجه 887صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Establishing prayer and the sunnah regarding it
Chapter
Glorification in ruku and sujud
Numbering
Darussalam 887
Ibn Majah 887