Sunan Abi Dawud 330
Grading supplied with this record: Da'if (Al-Albani)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
إِنَّهُ لَمْ يَمْنَعْنِي أَنْ أَرُدَّ عَلَيْكَ السَّلاَمَ إِلاَّ أَنِّي لَمْ أَكُنْ عَلَى طُهْرٍ "
Nafi' said:
Accompanied by 'Abd Allah b. 'Umar, I went to Ibn 'Abbas for a certain work. He (Ibn 'Abbas) narrated a tradition saying: A man passed by the Messenger of Allah (ﷺ) in a street, while he returned from the toilet or just urinated. He (the man) saluted him, but the Prophet did not return the salutation. When the man was about to disappear (from sight) in the street he struck the wall with both his hands and wiped his face with them. He then struck another stroke and wipes his arms. He then returned the man's salutation. Then he said: I did not return the salutation to you because I was not purified. Abu Dawud said: I heard Ahmad b. Hanbal say: Muhammad b. Thabit reported a rejected tradition. Ibn Dasah said: Abu Dawud said: No one supported Muhammad b. Thabit in respect of narrating this tradition as to striking the wall twice (for wiping) from the Prophet (ﷺ), but reported it as an action of Ibn 'Umar.
Full reference and source
Sunan Abi Dawud 330 In-book : Book 1, Hadith 330 English translation : Book 1, Hadith 330
View source on Sunnah.com (opens in a new tab)