The Prophet ﷺ performed the ritual bath after major impurity. He washed his private parts, rubbed his hand against the ground or the wall, then performed ablution as he would for prayer, and afterward poured water over his head and the rest of his body.
أخبرنا إسحق بن إبراهيم قال أنبأنا جرير عن الأعمش عن سالم بن أبي الجعد عن كريب عن ابن عباس
اغتسل النبي ﷺ من الجنابة فغسل فرجه ودلك يده بالأرض أو الحائط ثم توضأ وضوءه للصلاة ثم أفاض على رأسه وسائر جسده