Sunan Ibn Majah #877 · Establishing the Prayer and the Sunnah Regarding Them

Sunan Ibn MajahIt was narrated from Abu Sa’eed Al-Khudri that he heard the Messenger of Allah
Sunan Ibn Majah · Book 5 · Establishing the Prayer and the Sunnah Regarding Them
Sunan Ibn Majah · كتاب 5 · إقامة الصلاة وسننها
“When the Imam says: ‘Sami’ Allahu liman hamidah (Allah hears those who praise Him),’ say: ‘Allahumma, Rabbana wa lakal-hamd (O Allah! O our Lord! To You is the praise).’”
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا يَحْيَى بْنُ أَبِي بُكَيْرٍ، حَدَّثَنَا زُهَيْرُ بْنُ مُحَمَّدٍ، عَنْ عَبْدِ اللَّهِ بْنِ مُحَمَّدِ بْنِ عَقِيلٍ، عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ، أَنَّهُ سَمِعَ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ يَقُولُ ‏
"‏ إِذَا قَالَ الإِمَامُ سَمِعَ اللَّهُ لِمَنْ حَمِدَهُ ‏.‏ فَقُولُوا اللَّهُمَّ رَبَّنَا وَلَكَ الْحَمْدُ ‏"‏ ‏.‏
Reference : Sunan Ibn Majah 877In-book reference : Book 5, Hadith 75