صحیح ابن حبان
Ibn Hibban
كتاب الصلاة
Book of Prayer
باب صفة الصلاة - ذكر مغفرة الله جل وعلا ما تقدم من ذنوب العبد بقوله اللهم ربنا ولك الحمد في صلاته إذا وافق ذلك قول الملائكة
Chapter on the Manner of Prayer – Allah’s forgiveness of past sins for saying “O Allah, our Lord, to You be praise” if it coincides with the angels
1 hadith
Hadith 1911
Sayyiduna Abu Hurairah (may Allah be pleased with him) narrates this statement of the Prophet (peace and blessings be upon him): "When the Imam says «سَمِعَ اللهُ لِمَنْ حَمِدَهُ», then you people recite «اللَّهُمَّ رَبَّنَا وَلَكَ الْحَمْدُ». Whoever's recitation coincides with that of the angels, his past sins will be forgiven."