Hadith 123

430- وبه: أن رسول الله صلى الله عليه وسلم قال: ”إذا قال الإمام: سمع الله لمن حمده، فقولوا: اللهم ربنا ولك الحمد فإنه من وافق قوله قول الملائكة غفر له ما تقدم من ذنبه.“
And with the same chain of narration, it is narrated from (Sayyiduna Abu Hurairah, may Allah be pleased with him) that the Messenger of Allah, peace and blessings be upon him, said: "When the Imam says «سَمِعَ اللَّهُ لِمَنْ حَمِدَهُ », then all of you say «اللَّهُمَّ رَبَّنَا لَكَ الْحَمْدُ», because whoever's saying coincides with the saying of the angels, his previous sins are forgiven."
Hadith Reference موطا امام مالك رواية ابن القاسم / 123
Hadith Grading زبیر علی زئی: سنده صحيح
Hadith Takhrij «430- متفق عليه، الموطأ (رواية يحييٰي بن يحييٰي 88/1 ح 194 ، ك 3 ب 11 ح 47) التمهيد 31/22 ، الاستذكار : 476/1 ح 169 ، و أخرجه البخاري (796) ومسلم (409) من حديث مالك به.»