The Book of Prayers (Kitab Al-Salat)

Muslim :: Book 4 : Hadith 809

Abu Huraira reported: The Messenger of Allah (may peace be upon him) said: When the Imam says:" Allah listens to him who praises Him." you should say:" O Allah, our Lord for Thee is the praise." for if what anyone says synchronises with what the angels say, his past sins will be forgiven.

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star