The Messenger of Allah (ﷺ) said: "When the Imam says: Not (the way) of those who earned Your anger, nor of those who went astray, say: 'Amin,' for if a person's Amin coincides with the Amin of the angels, his previous sins will be forgiven.'"
Sunan an-Nasa'i Book 11, Hadith 54