"If the Prophet ﷺ" - (one of the narrators) 'Amr said: "If the Messenger of Allah ﷺ" - "wanted to eat or sleep while he was Junub, he would perform Wudu'." In his narration, 'Amr (one of the narrators) added: "Wudu' was for prayer." (Using translation from Nasāʾī 255)
كَانَ النَّبِيُّ ﷺ وَقَالَ عَمْرٌو كَانَ رَسُولُ الله ﷺ إِذَا أَرَادَ أَنْ يَأْكُلَ أَوْ يَنَامَ وَهُوَ جُنُبٌ تَوَضَّأَ زَادَ عَمْرٌو فِي حَدِيثِهِ وُضُوءَهُ لِلصَّلَاةِ