(Imām Bukhārī narrates): Abu Nu'aim narrated to us, he said: Hisham and Shaiban narrated to us, from Yahya, from Abi Salamah, he said:
I asked Hazrat Aisha (may Allāh be pleased with her) whether the Prophet ﷺ used to sleep in a state of janabah. Hazrat Aisha (may Allāh be pleased with her) said: Yes! And he would perform wudu.
Reference: Sahih Al Bukhari 286