Narrated Samurah ibn Jundub:
The Prophet (ﷺ) commanded us to respond to the salutation of the imam. and to love each other, and to salute each other.