BAYHAQI 981:
from ʿĀʾishah —
[Machine] That the Messenger of Allah, ﷺ , when he wanted to sleep while in a state of sexual impurity, he would perform ablution for prayer before sleeping. Aisha said, "And when he wanted to eat or drink, he would wash his hands and then eat and drink, if he wished to do so." It has been said in this narration that there is something different, and the hadith of Al-Aswad from Aisha is considered more authentic.
البيهقي ٩٨١:
عن عاءشه —
أَنَّ رَسُولَ اللهِ ﷺ كَانَ إِذَا أَرَادَ أَنْ يَنَامَ وَهُوَ جُنُبٌ تَوَضَّأَ وُضُوءَهُ لِلصَّلَاةِ قَبْلَ أَنْ يَنَامَ قَالَتْ عَائِشَةُ وَإِذَا أَرَادَ أَنْ يَأْكُلَ أَوْ يَشْرَبَ يَغْسِلُ يَدَيْهِ ثُمَّ يَأْكُلُ وَيَشْرَبُ إِنْ شَاءَ وَقَدْ قِيلَ فِي هَذَا الْإِسْنَادِ غَيْرُ هَذَا وَحَدِيثُ الْأَسْوَدِ عَنْ عَائِشَةَ أَصَحُّ
hadithunlocked.com