It is narrated from Hazrat Aisha (may Allah be pleased with her) that sometimes ghusl (ritual bath) would become obligatory upon the Prophet (peace and blessings be upon him), and the Prophet (peace and blessings be upon him) would sleep without touching water, then after waking up from sleep, he would perform ghusl.