It was narrated from Samurah bin Jundub that the Prophet (ﷺ) said:
“When the Imam says the Salam, then respond to him.”