Abu Juhaym reported,

The Prophet ﷺ was coming from the direction of Bir Jamal when a man met him and greeted him with salam, but the Prophet ﷺ did not return his greeting. He turned to a wall and wiped his face and hands against it, then returned the greeting.

Azami 1719

Sahih

عن أبي جهيم بن الحارث بن الصمة قال

أقبل النبي ﷺ: من نحو بئر جمل، فلقيه رجل فسلم عليه، فلم يرد عليه النبي ﷺ أقبل على الجدار فمسح بوجهه ويديه، ثم رد عليه السلام.

الأعظمي 1719صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tayammum
Section
Tayammum to return the greeting
Numbering
Jami al-Kamil 1719 (2nd edition)
Azami 1719