ENOfficial
It was narrated from ‘Ali bin Abi Talib that the Prophet (ﷺ) said: `The anus, for the eye , is like the string that ties up a waterskin; whoever goes to sleep, let him do wudoo’.”
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا عَلِيُّ بْنُ بَحْرٍ، حَدَّثَنَا بَقِيَّةُ بْنُ الْوَلِيدِ الْحِمْصِيُّ، حَدَّثَنِي الْوَضِينُ بْنُ عَطَاءٍ، عَنْ مَحْفُوظِ بْنِ عَلْقَمَةَ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ عَائِذٍ الْأَزْدِيِّ، عَنْ عَلِيِّ بْنِ أَبِي طَالِبٍ، عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ إِنَّ السَّهَ وِكَاءُ الْعَيْنِ فَمَنْ نَامَ فَلْيَتَوَضَّأْ.
sunnah.com