It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) extended his hand towards Sayyiduna Hudhayfah (may Allah be pleased with him), but Sayyiduna Hudhayfah (may Allah be pleased with him) drew back somewhat, until he went and performed ghusl (the ritual bath), then came and said: "O Messenger of Allah (peace and blessings be upon him), I was in a state of major ritual impurity (janabah)." The Messenger of Allah (peace and blessings be upon him) said: "Indeed, the Muslim does not become impure."
It has a supporting narration (shahid) in Sahih Muslim, through the narration of Abu Wa'il Shaqiq bin Salamah (may Allah have mercy on him) from Sayyiduna Hudhayfah (may Allah be pleased with him).
It is narrated from Shu'bah (may Allah have mercy on him) and others that Muhammad bin Sirin (may Allah have mercy on him) did not hear from Sayyiduna Ibn Abbas (may Allah be pleased with them both).
I (Imam Diya al-Din al-Maqdisi (may Allah have mercy on him)) say: Imam al-Bukhari (may Allah have mercy on him) narrated in Sahih al-Bukhari, in the Book of Foods, from Abdullah bin Abd al-Wahhab al-Hajabi, from Hammad bin Zayd, from Ayyub, from Ibn Sirin, from Sayyiduna Ibn Abbas (may Allah be pleased with them both), who said: "The Prophet (peace and blessings be upon him) ate the meat off a shoulder bone with his teeth, then prayed and did not perform ablution."
Related hadith on this topic