The Messenger of Allah ﷺ came out after the prayer had been called and the rows had been straightened. When he stood at his praying place and we were waiting for him to say the takbir, he turned away and said, "Stay in your places."He went back into his house, and we remained as we were until he came out to us with water dripping from his head, having performed the ghusl.
حدثنا يعقوب حدثنا أبي عن صالح عن ابن شهاب حدثني أبو سلمة بن عبد الرحمن أن
خرج رسول الله ﷺ وقد أقيمت الصلاة وعدلت الصفوف حتى إذا قام في مصلاه وانتظرنا أن يكبر انصرف فقال على مكانكم فدخل بيته ومكثنا على هيئتنا حتى خرج إلينا ورأسه ينطف وقد اغتسل