Sayyidina Ammar (RA) reported that the Prophet (SAW) authorised a sexually defiled person, that if he wishes to eat, drink or sleep, he must make ablution like the ablution of salah.
--------------------------------------------------------------------------------