Sayyiduna Samurah (may Allah be pleased with him) said: The Messenger of Allah (peace and blessings be upon him) commanded us to give the salam to our right side, and to give salam to one another.
Hadith Referenceالمعجم الكبير للطبراني / باب السين / 6876