It is narrated from Sayyiduna Hanzalah bin al-Rahib al-Ansari (may Allah be pleased with him): "A man greeted the Prophet (peace and blessings be upon him) with salam, and he (peace and blessings be upon him) did not return his greeting until he (peace and blessings be upon him) had purified himself (with tayammum), and then he said: 'Nothing prevented me from returning your greeting except that I was not in a state of ablution.' Or the narrator said: He (peace and blessings be upon him) did not return the greeting until he had purified himself, and then he returned it."
This chain is da'if (weak) because one of the Successor narrators is majhul (unknown).