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