"Allah's Messenger ordered us that when we were three, then one of us should stand forward."
Jami` at-Tirmidhi Book 2, Hadith 85