It is narrated from Sayyidah Maymunah (may Allah be pleased with her) that the Prophet (peace and blessings be upon him) performed the ritual bath (ghusl) for major impurity (janabah): he washed his private part, then rubbed his hand on the wall, then washed it, then performed ablution like the ablution for prayer, and when he had finished his bath he washed his feet.
Hadith Referenceالمعجم الكبير للطبراني / مسند النساء / 20328