بسم الله الرحمن الرحيم
This is hated, so it’s befitting for the Muslims to avoid it. Ibn Umar stated that a man passed by Allah’s Messenger -sallahu alayhi wa salaam- while he was urinating and conveyed the salaams, however the Messenger -sallahu alayhi wa salaam- did not respond. That was because returning the salaams is dhikr.
Translated by Najeeb Al Anjelesi
Source: المنظار في كثير من الأخطاء الشائعة