Hudhaifah reported: The prophet ﷺ visited him and inclined towards him (for shaking hand). He said: I am sexually defiled. The prophet ﷺ replied: A muslim is not defiled.
Related hadith on this topic
Explanation & Benefits
Shaykh Maulana Abdul Aziz Alvi
Hadith Commentary: Benefits and Issues: Janabah is a legal (hukmi) impurity, not a physical impurity; therefore, in the state of janabah, a person’s body does not become impure.
The impurity of a disbeliever (kafir) is also doctrinal and internal; outwardly, he is not impure.
Source: Tuhfat al-Muslim: Commentary on Sahih Muslim, Page: 825
Hafiz Muhammad Ameen
268. Commentary:
➊ A teacher or elder should take care of their juniors and students, remain informed about their circumstances to the necessary extent so that they can assist and guide them as needed. They should shake hands with them, maintain social interaction, and along with this, also pray for them. Especially, a servant is more deserving of supplication. This will also serve as a recompense for their service.
➋ Due to major ritual impurity (janabah), menstruation (hayd), and urination or defecation, a person becomes unfit for prayer and similar acts of worship. This is a spiritual impurity. Outwardly, a person—especially a Muslim—remains pure. In the aforementioned states, it is permissible to interact with such a person, eat and drink with them, and engage in all kinds of work with them; there is no difference. It is permissible to eat or drink what they have left over. If they put their hand into something (for example, water, etc.) and there is no visible impurity on the hand, then that thing remains pure. And Allah knows best.
Source: Sunan Nasa'i: Translation and Benefits by Shaykh Hafiz Muhammad Amin Hafizullah, Page: 268