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