When the Messenger of Allah ﷺ wanted to perform the ritual bath after major impurity, he would first perform ablution as he did for prayer, then pour water over his head three times, working his fingers through the roots of his hair.
حدثنا عبد الصمد قال حدثنا المثنى يعني ابن سعيد قال حدثنا قتادة عن عروة بن الزبير
أن رسول الله ﷺ كان إذا أراد أن يغتسل من جنابة توضأ وضوءه للصلاة ثم صب على رأسه ثلاث مرار يخلل بأصابعه أصول الشعر