He came to the Prophet ﷺ while he was relieving himself and greeted him with salaam, but the Prophet did not respond until he had performed ablution. Then he apologized to him, saying, "I disliked to mention the name of Allah
except in a state of purity," or he said, "in a state of cleanliness."
أنه أتى النبي ﷺ وهو يبول، فسلم عليه، فلم يرد عليه السلام حتى توضأ، ثم اعتذر إليه فقال: إني كرهت أن أذكر الله عز وجل إلا على طهر. أو قال: على طهارة.
Abu Dawud (17) narrated it, and this is his wording, as did Nasai (38) and Ibn Majah (350), all of them through the route of Saeed bin Abu Aruba, from Qatada, from Hasan, from Hudayn bin Munzir Abu Sasan, from Muhajir bin Qunfudh bin Umayr, mentioning something similar, except for Ibn Majah, for in his version it says, "I came to the Prophet ﷺ while he was performing wudu," instead of "while he was urinating," then he said, "Nothing kept me from returning your greeting except that I was not in a state of wudu." Its chain of transmission is sahih.Hudayn, with a plain ha then a dotted za, diminutive form, is the son of Munzir bin Harith Raqashi. Abu Sasan is his nickname, and his kunya is Abu Muhammad. He was the bearer of Ali's banner on the day of Siffin. No one else is known by the name Hudayn. He is trustworthy and among the narrators of Muslim.Hasan here is Hasan Basri, the well-known Imam and successor. Nasai and others described him as engaging in tadlis, though the Hafiz placed him in the second category, those whose tadlis the leading scholars tolerated and for whom they narrated in the Sahih collections. He was also described as narrating with mursal transmission, but here he narrates from a successor, so his being prone to mursal narration does not harm this particular report.Ibn Khuzayma (206), Ibn Hibban (803), and Hakim (1/167) all graded it sahih, all of them through this same route. Hakim said, "It is sahih according to the criteria of the two Shaykhs, though they did not narrate it with this wording..."