Muwatta Malik, Book 3, Hadith 48 (USC-MSA) ⓘ
Yahya related to me from Malik from Sumayy, the mawla of Abu Bakr, from Abu Salih as Samman, from Abu Hurayra that the Messenger of Allah, may Allah bless him and grant him peace, said, "When the imam has said, 'not of those with whom You are angry nor of those who are in error,' say 'Amin', for the previous wrong actions of the one whose utterance coincides with that of the angels, are forgiven him."
وَحَدَّثَنِي عَنْ مَالِكٍ، عَنْ سُمَىٍّ، مَوْلَى أَبِي بَكْرٍ عَنْ أَبِي صَالِحٍ السَّمَّانِ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " إِذَا قَالَ الإِمَامُ {غَيْرِ الْمَغْضُوبِ عَلَيْهِمْ وَلاَ الضَّالِّينَ} فَقُولُوا آمِينَ فَإِنَّهُ مَنْ وَافَقَ قَوْلُهُ قَوْلَ الْمَلاَئِكَةِ غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ " .
also referenced under: Book 3, Hadith 195 (In-Book)