Sunan Abi Dawud Book 2, Hadith 209
Mu’adh b. Jabal would pray along with the Messenger of Allah (ﷺ)in the night prayer, then go and lead his people and lead them in the same prayer.
‘Ammar came forward and stood on a shop (or a beach) and prayed while the people stood on a lower place than he. Hudaifah came forward and took him by the hands and Ammar followed him till Hudaifah brought him down. When ‘Ammar finished his prayer. Hudaifah said to him: Did you not hear the Messenger of Allah (May peace be upon him) say: When a man leads the people in prayer, he must not stand in a position higher than theirs, or words to that effect? ‘Ammar replied : that is why I followed you when you took me by the hand.
Mu’adh b. Jabal would pray along the prophet (ﷺ), then go and lead his people in prayer.