Muwatta Imam Malik Book of Prayer, Hadith 48
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 ﷺ 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."
وَحَدَّثَنِي عَنْ مَالِكٍ، عَنْ سُمَىٍّ، مَوْلَى أَبِي بَكْرٍ عَنْ أَبِي صَالِحٍ السَّمَّانِ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ " إِذَا قَالَ الإِمَامُ {غَيْرِ الْمَغْضُوبِ عَلَيْهِمْ وَلاَ الضَّالِّينَ} فَقُولُوا آمِينَ فَإِنَّهُ مَنْ وَافَقَ قَوْلُهُ قَوْلَ الْمَلاَئِكَةِ غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ " .