The prayer was called and the people straightened their rows. The Messenger of Allah ﷺ came out and stepped forward, but he was in a state of major impurity. He said, "Stay in your places," then he went back, performed the ritual bath, and came out again with water dripping from his head, and led them in prayer.
حدثنا إسحاق قال حدثنا محمد بن يوسف قال حدثنا الأوزاعي عن الزهري عن أبي سلمة بن عبد الرحمن
أقيمت الصلاة فسوى الناس صفوفهم فخرج رسول الله ﷺ فتقدم وهو جنب ثم قال على مكانكم فرجع فاغتسل ثم خرج ورأسه يقطر ماء فصلى بهم