حَدَّثَنَا مُحَمَّدُ بْنُ سَهْلِ بْنِ عَسْكَرٍ ، حَدَّثَنَا عَبْدُ اللهِ بْنُ صَالِحٍ ، قَالَ : حَدَّثَنِي مُعَاوِيَةُ بْنُ صَالِحٍ ، عَنْ أَبِي مَرْيَمَ ، عَنْ أَبِي هُرَيْرَةَ ، أَنَّهُ سَمِعَهُ يَقُولُ : مَنْ رَأَى أَخَاهُ فَلْيُسَلِّمْ عَلَيْهِ ، فَإِنْ حَالَتْ بَيْنَهُمَا شَجَرَةٌ ، أَوْ حَائِطٌ ، أَوْ صَخْرَةٌ فَلَقِيَهُ ، فَلْيُسَلِّمْ عَلَيْهِ .
It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that he said: "Whoever sees his (Muslim) brother should greet him with salam; then if a tree, a wall or a rock comes between them and he meets him again, he should greet him with salam again."