It is narrated from Hazrat Umm Salamah (may Allah be pleased with her) that sometimes ghusl would become obligatory upon the Prophet (peace and blessings be upon him) by choice, then the Prophet (peace and blessings be upon him) would sleep in that state, then wake up, and then sleep again.