It is narrated from Hazrat Aisha (may Allah be pleased with her) that when the Prophet (peace and blessings be upon him) wanted to sleep in a state requiring ghusl, he would perform ablution as for prayer, and when he wanted to eat or drink something, he would wash his hands and then eat and drink.