Jami` at-Tirmidhi, Book 42, Hadith 33 (Tirmidhi 2790)

Narrated Ibn 'Umar:

that a man gave the Salam to the Prophet (ﷺ) while he was urinating, but the Prophet (ﷺ) did not return the Salam to him."