It wasnarrated from Samurah bin Jundub that the Prophet (ﷺ) said:
"Whenthe Imam says the Salam, then respond to him." (TH)
English reference (TH): Vol. 1, Book 5, Hadith 921 (TH)
Arabic reference (TH): Book 5, Hadith 974 (TH)