It is narrated from Abu Huraira (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "When the Imam says ﴿غير المغضوب عليهم ولا الضالين﴾, then you should say Ameen! Whoever's Ameen coincides with the Ameen of the angels, all his previous (minor) sins are forgiven."
Hadith Referenceمسند الإمام الشافعي / كتاب الصلاة / 214
Hadith Takhrijأخرجہ البخاری، الأذان، باب جہر المأموم بالتأمین: 782 - ومسلم، الصلاۃ، باب التسمیع والتحمید والتأمین: 409۔