It was narrated that Hudhaifah said:
"The Prophet came out and met me when I was sexually impure, so I kept away from him. Then I had a bath and came to him. He said: 'What is the matter with you?' I said: 'I was sexually impure.' The Messenger of Allah said: 'The Muslim does not become impure.'" (ES)
English reference (ES): Vol. 1, Book 1, Hadith 535 (ES)
Arabic reference (ES): Book 1, Hadith 578 (ES)