It is narrated from Sayyiduna Ali bin Abi Talib (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "When a group of people is passing by somewhere, it is sufficient on behalf of the whole group that one of them gives the greeting of salam; and likewise, it is sufficient on behalf of all those sitting that one of them returns the greeting."
Hadith Referenceمسند أبي يعلى الموصلي / مسند علي بن أبي طالب رضي الله عنه / 441
Hadith Gradingمحدثین:إسناده ضعيف
Hadith Takhrij«حکم الحدیث مسند ابی یعلی محققاً تنسیق حسين سليم أسد - مکتبہ شاملہ :قال حسين سليم أسد: إسناده ضعيف . » «قال سعيد بن محمد السناري: ضعيف» «أخرجه سنن أبي داود برقم: 5210، وأخرجه فتح الباري برقم: 5873، وأخرجه مسند البزار برقم: 534، وأخرجه الأحاديث المختارة برقم: 620، مسند ابویعلیٰ ترقیم الاثری: 436»