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.
Sunan Abi Dawud Book 2, Hadith 209