Sunan Ibn Majah, Book 1, Hadith 87 (Ibn Majah 353)

It was narrated that Ibn 'Umar said:

"A man passed by the Prophet while he was urinating and greeted him with the Salam, and he did not return the greeting."