عَنْ عَائِشَةَ قَالَتْ: كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ إِذَا أَرَادَ أَنْ يَنَامَ وَهُوَ جُنُبٌ تَوَضَّأَ وَضُوءَهُ لِلصَّلَاةِ فَإِذَا أَرَادَ أَنْ يَأْكُلَ أَوْ يَشْرَبَ غَسَلَ كَفَّيْهِ ثُمَّ يَأْكُلُ أَوْ يَشْرَبُ إِنْ شَاءَ
Sayyidah Aisha (may Allah be pleased with her) says: When the Messenger of Allah (peace and blessings be upon him) intended to sleep in a state of major ritual impurity (janabah), he would perform ablution as for prayer. Similarly, when he (peace and blessings be upon him) intended to eat or drink in that state, he would wash his hands, and then if he wished, he would eat or drink.