حَدَّثَنِي يَحْيَى ، عَنْ مَالِك ، عَنْ
عَبْدِ اللَّهِ بْنِ دِينَارٍ ، عَنْ
عَبْدِ اللَّهِ بْنِ عُمَرَ ، أَنَّهُ قَالَ : ذَكَرَ عُمَرُ بْنُ الْخَطَّابِ لِرَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَنَّهُ يُصِيبُهُ جَنَابَةٌ مِنَ اللَّيْلِ ، فَقَالَ لَهُ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ :
" تَوَضَّأْ وَاغْسِلْ ذَكَرَكَ ثُمَّ نَمْ "
It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with them) that Sayyiduna Umar (may Allah be pleased with him) mentioned to the Messenger of Allah (peace and blessings be upon him) that he needs to bathe at night. So the Messenger of Allah (peace and blessings be upon him) said: Perform ablution and wash your private part, then sleep.
Related hadith on this topic