Sunan Ibn Majah · Hadith 926
Establishing the Prayer and the Sunnah Regarding Them - كتاب إقامة الصلاة والسنة فيها
حدثنا أبو بكر بن أبي شيبة، حدثنا يحيى بن أبي بكير، حدثنا زهير بن محمد، عن عبد الله بن محمد بن عقيل، عن سعيد بن المسيب، عن أبي سعيد الخدري، أنه سمع رسول الله صلى الله عليه وسلم يقول " إذا قال الإمام سمع الله لمن حمده . فقولوا اللهم ربنا ولك الحمد " .
It wasnarrated from Abu Sa’eed Al-Khudri that he heard the MessengerofAllah (ﷺ) say: “When the Imam says: ‘Sami’ Allahu limanhamidah(Allah hears those who praise Him),’ say: ‘Allahumma,Rabbana walakal-hamd (O Allah! O our Lord! To You is the praise).’”
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).