Sahih Muslim , Book 4, Hadith 1257 (USC-MSA)

Abu Salama reported Abu Huraira as saying: Iqama was pronounced. ant the people had formed themselves into rows. The Messenger of Allah came out and stood at his place, and then pointed out with his hand that we should stand at our places. He then went away and took a bath and water trickled from his head and then led them in prayer.

وَحَدَّثَنِي زُهَيْرُ بْنُ حَرْبٍ، حَدَّثَنَا الْوَلِيدُ بْنُ مُسْلِمٍ، حَدَّثَنَا أَبُو عَمْرٍو، - يَعْنِي الأَوْزَاعِيَّ - حَدَّثَنَا الزُّهْرِيُّ، عَنْ أَبِي سَلَمَةَ، عَنْ أَبِي هُرَيْرَةَ، قَالَ أُقِيمَتِ الصَّلاَةُ وَصَفَّ النَّاسُ صُفُوفَهُمْ وَخَرَجَ رَسُولُ اللَّهِ صلى الله عليه وسلم فَقَامَ مَقَامَهُ فَأَوْمَأَ إِلَيْهِمْ بِيَدِهِ أَنْ ‏ "‏ مَكَانَكُمْ ‏" ‏ ‏.‏ فَخَرَجَ وَقَدِ اغْتَسَلَ وَرَأْسُهُ يَنْطِفُ الْمَاءَ فَصَلَّى بِهِمْ ‏.‏

sunnah.com