From Sahih Muslim (Hadith 917):
Abu Huraira reported:The Messenger of Allah (ﷺ) said: When anyone amongst you utters Amin in prayer and the angels in the sky also utter Amin, and this (utterance of the one) synchronises with (that of) the other, all his previous sins are pardoned
Reference: Muslim 917