(6) باب جَوَازِ نَوْمِ الْجُنُبِ وَاسْتِحْبَابِ الْوُضُوءِ لَهُ وَغَسْلِ الْفَرْجِ إِذَا أَرَادَ أَنْ يَأْكُلَ أَوْ يَشْرَبَ أَوْ يَنَامَ أَوْ يُجَامِعَل
This hadith has been transmitted by Shu'ba with the same chain of transmitters. Ibn at-Muthanna said in his narration:
AI-Hakam narrated to us who heard from Ibrahim narrating that.
Reference: Sahih Muslim 305 c
In-book reference: Book 3, Hadith 23
USC-MSA web (English) reference(deprecated numbering scheme): Book 3, Hadith 599