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. (Using translation from Abū Dāʾūd 599)
كَانَ مُعَاذٌ يُصَلِّي مَعَ رَسُولِ اللهِ ﷺ الْعِشَاءَ ثُمَّ يَأْتِي قَوْمَهُ فَيُصَلِّي بِهِمْ تِلْكَ الصَّلَاةَ