Sunan at-Tirmithiy كتاب الصلاة باب ما جاء فى فضل التأمين

حَدَّثَنَا أَبُو كُرَيْبٍ مُحَمَّدُ بْنُ الْعَلاَءِ حَدَّثَنَا زَيْدُ بْنُ حُبَابٍ حَدَّثَنِى مَالِكُ بْن أَنَسٍ حَدَّثَنَا الزُّهْرِىُّ عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ وَأَبِى سَلَمَةَ عَنْ أَبِى هُرَيْرَةَ عَنِ النَّبِىِّ صلى الله عليه وسلم قَالَ إِذَا أَمَّنَ الإِمَامُ فَأَمِّنُوا فَإِنَّهُ مَنْ وَافَقَ تَأْمِينُهُ تَأْمِينَ الْمَلاَئِكَةِ غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِه. قَالَ أَبُو عِيسَى حَدِيثُ أَبِى هُرَيْرَةَ حَدِيثٌ حَسَنٌ صَحِيحٌ.
The Prophet, peace and blessings of God be upon him, said, "If the imām(1) says 'āmīn'(2), then say 'āmīn', for indeed whoever utters 'āmīn' in unison with the angels, will have his past sins forgiven.(3)"
(1) Prayer leader (2) A word used after supplication which means, "God, answer [my prayer]," similar to the word “amen.” It is said by the imām in prayer after reciting al-Fātihah, the opening chapter of the Qur’ān. (3) This is understood to refer to forgiveness of minor sins, not the past major sins.