Sahih al-Bukhari
Sahih al-Bukhari 3228
حَدَّثَنَا إِسْمَاعِيلُ، قَالَ حَدَّثَنِي مَالِكٌ، عَنْ سُمَىٍّ، عَنْ أَبِي صَالِحٍ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " إِذَا قَالَ الإِمَامُ سَمِعَ اللَّهُ لِمَنْ حَمِدَهُ. فَقُولُوا اللَّهُمَّ رَبَّنَا لَكَ الْحَمْدُ، فَإِنَّهُ مَنْ وَافَقَ قَوْلُهُ قَوْلَ الْمَلاَئِكَةِ، غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ ".
Ismaʿil narrated to me, saying: Malik narrated to me, from Sumayy, from Abu Salih, from Abu Hurayra (may Allah be pleased with him), that the Messenger of Allah (ﷺ) said: ‘When the imam says, “Allah hears whoever praises Him,” say, “O Allah, our Lord, to You belongs all praise.” Whoever’s words coincide with the words of the angels will have his past sins forgiven.’