It was narrated that Huthaifah said:
"When the Messenger of Allah (ﷺ) met a man from among his Companions, he would shake hands with him and supplicate for him. I saw him one day in the early morning, and I tried to avoid him, then I came to him later in the day. He said: 'I saw you but you were avoiding me.' I said: 'I was Junub and I was afraid that you would touch me.' The Messenger of Allah (ﷺ) said: 'The Muslim is not made impure (Najis).'"
English reference: Vol. 1, Book 1, Hadith 268
Arabic reference: Book 1, Hadith 269