Mishkat al-Masabih 535
عَن أبي الْجُهَيْم الْأنْصَارِيّ قَالَ: أَقْبَلَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مِنْ نَحْوِ بِئْرِ جَمَلٍ فَلَقِيَهُ رَجُلٌ فَسَلَّمَ عَلَيْهِ فَلَمْ يَرُدَّ عَلَيْهِ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ حَتَّى أَقْبَلَ عَلَى الْجِدَارِ فَمَسَحَ بِوَجْهِهِ وَيَدَيْهِ ثُمَّ رَدَّ عَلَيْهِ السَّلَام
From Abu al-Juhaym al-Ansari, who said: The Prophet ﷺ came from the direction of the well of Jamal, and a man met him and greeted him, but the Prophet ﷺ did not return his greeting until he turned to the wall and wiped his face and his hands. Then he returned his greeting.