“When the Imam says the Salam, then respond to him.”
Sunan Ibn Majah Book 5, Hadith 119