"when there are three people let one of them lead the prayer, and the one who is most entitled to lead the prayer is the one who has most knowledge of the Quran."
Sunan an-Nasa'i Book 10, Hadith 6