Huzaifa bin Yaman reported,

The Prophet ﷺ went out and met me while I was in a state of major ritual impurity, so I slipped away from him, performed the ritual bath, and then came back. He asked, "What was the matter?"I replied, "I was in a state of major ritual impurity."The Messenger of Allah ﷺ said, "The Muslim does not become impure."

Ibn Majah 535

Sahih

حدثنا علي بن محمد حدثنا وكيع ح و حدثنا إسحق بن منصور أنبأنا يحيى بن سعيد جميعا عن مسعر عن واصل الأحدب عن أبي وائل

عن حذيفة قال

خرج النبي ﷺ فلقيني وأنا جنب فحدت عنه فاغتسلت ثم جئت فقال ما لك قلت كنت جنبا فقال رسول الله ﷺ إن المسلم لا ينجس

ابن ماجه 535صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Purification and its sunnahs
Chapter
Shaking hands with one who is in a state of major ritual impurity
Numbering
Darussalam 535
Ibn Majah 535