Abu Dawud Book 1, Hadith Number 16.
Chapter : Return of salutation at the time of urination.
Narated By Ibn ‘Umar : A man passed by the Prophet (PBUH) while he was urinating, and saluted him. The Prophet (PBUH) did not return the salutation to him.