The Messenger of Allah ﷺ came from the privy. A man met him near Bir Jamal and saluted him. The Messenger of Allah ﷺ did not return the salutation until he came to a wall and placed his hands on the wall and wiped his face and hands; he then returned the man's salutation.
أَقْبَلَ رَسُولُ اللَّهِ ﷺ مِنَ الْغَائِطِ فَلَقِيَهُ رَجُلٌ عِنْدَ بِئْرِ جَمَلٍ فَسَلَّمَ عَلَيْهِ فَلَمْ يَرُدَّ عَلَيْهِ رَسُولُ اللَّهِ ﷺ حَتَّى أَقْبَلَ عَلَى الْحَائِطِ فَوَضَعَ يَدَهُ عَلَى الْحَائِطِ ثُمَّ مَسَحَ وَجْهَهُ وَيَدَيْهِ ثُمَّ رَدَّ رَسُولُ اللَّهِ ﷺ عَلَى الرَّجُلِ السَّلاَمَ