When the Messenger of Allah ﷺ bathed after janaba, he would begin by washing his hands, then perform wudu as he would for prayer. Then he would dip his fingers into the water and run them through the roots of his hair. Then he would pour three handfuls of water over his head, and then pour water over his entire body.
حدثني يحيى عن مالك عن هشام بن عروة عن أبيه
أن رسول الله ﷺ كان إذا اغتسل من الجنابة بدأ بغسل يديه ثم توضأ كما يتوضأ للصلاة ثم يدخل أصابعه في الماء فيخلل بها أصول شعره ثم يصب على رأسه ثلاث غرفات بيديه ثم يفيض الماء على جلده كله