It is narrated from Umm al-Mu'mineen Aisha (may Allah be pleased with her) that when the Messenger of Allah (peace and blessings be upon him) performed ghusl after janabah, he would first wash his hands, then perform wudu as for prayer, then insert his fingers into the water and run them through the roots of his hair, then pour three handfuls of water over his head with his hands, and then pour water over his entire body.
Hadith Referenceمسند الإمام الشافعي / كتاب الطهارة / 103
Hadith Takhrijاخرجہ البخاری: الغسل، باب الوضوء قبل الغسل (248)