The Messenger of Allah ﷺ said, "When the imam says, 'Not of those who have earned Your anger, nor of those who go astray' [Fatihah 1:7], say 'Ameen,' for whoever's utterance coincides with that of the angels will have his past sins forgiven."
قال قرأت على عبد الرحمن: مالك وحدثنا إسحاق قال أخبرنا مالك عن سمي مولى أبي بكر عن أبي صالح السمان
أن رسول الله ﷺ قال إذا قال الإمام {غير المغضوب عليهم ولا الضالين} فقولوا آمين فإنه من وافق قوله قول الملائكة غفر له ما تقدم من ذنبه