Narrated Abu Hurairah: When one of you meets his brother, he should salute him, then if he meets him again after a tree, wall or stone has come between them, he should also salute him. Muawiyah said: Abd al-Wahhab bin Bakht transmitted a similar tradition to me from Abu al-Zinad, from al-Araj, from Abu Hurairah, from the Messenger of Allah ﷺ.
Hadith Referenceسنن ابي داود / أبواب السلام / 5200
Hadith Gradingالألبانی:صحيح موقوفا ومرفوعا | زبیر علی زئی:صحيح, مشكوة المصابيح (4650), سند المرفوع صحيح