Hadith 17

Riyad as-Salihin

Book 5: The Book of Greetings

Chapter 134

The Excellence of Greeting the Acquaintance Repeatedly

باب استحباب إعادة السلام على من تكرر لقاؤه على قرب بأن دخل ثم خرج ثم دخل في الحال، أو حال بينهما شجرة ونحوها

Riyad as-Salihin 860
وعنه عن رسول الله صلى الله عليه وسلم، قال‏:‏ ‏ ‏ ‏(‏‏(‏رواه أبو داود‏)‏‏)‏‏.‏
"‏إذا لقي أحدكم أخاه، فليسلم عليه، فإن حالت بينهما شجرة، أو جدار، أو حجر، ثم لقيه، فليسلم عليه‏"
Abu Hurairah (May Allah be pleased with him) reported:

The Messenger of Allah (ﷺ) said, "When one of you meets a brother (in Faith) he should greet him. Then if a tree or a wall or a stone intervenes between them and then he meets him again, he should greet him."[Abu Dawud].