Musnad Ahmad 12652
حَدَّثَنَا عَبْدُ الرَّزَّاقِ ، حَدَّثَنَا مَعْمَرٌ ، عَنِ الزُّهْرِيِّ ، عَنْ أَنَسِ بْنِ مَالِكٍ رَضِيَ اللَّهُ عَنْهُ، أَنّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ:" إِذَا قَالَ الْإِمَامُ سَمِعَ اللَّهُ لِمَنْ حَمِدَهُ، فَقُولُوا: رَبَّنَا وَلَكَ الْحَمْدُ".
ʿAbd ar-Razzaq narrated to us: Maʿmar narrated to us, from az-Zuhri, from Anas ibn Malik, may Allah be pleased with him, that the Messenger of Allah ﷺ said: "When the imam says: 'Samiʿa Allahu liman hamidah (Allah hears whoever praises Him),' then say: 'Rabbana wa lakal-hamd (Our Lord, and to You belongs the praise).'"