Sunan Abi Dawud — General Behavior (Kitab Al-Adab) — Hadith No: 5198
Translation
Abu Hurairah reported the Messenger of Allah (May peace be upon him) as saying :The young should salute the old, the one who is passing by should salute the one who is sitting, and a small company should salute a large one