Sunan Ibn Majah, Book 5, Hadith 120 (Ibn Majah 922)

It was narrated that Samurah bin Jundab said:

“The Messenger of Allah (ﷺ) commanded us to greet our Imam with Salam, and to greet one another with Salam.”