Sunan Abi Dawud Book 2, Hadith 192
The one of you who is most versed in the Books of Allah should act as imam for the people; and the one who is the earliest of them in reciting (the Qur’an); if they are equally versed in reciting it, then the earliest of them to emigrate (to Medina); if they emigrated at the same time, then the oldest of them. No man must lead another in prayer in his house (i.e. in the house of a latter) or where the latter has authority, or sit in his place of honor without his permission. Shu’bah said: I asked Isma’il: what is the meaning of his place of honor? He replied: his throne.
I heard the Messenger of Allah (ﷺ) say: One of the signs of the Last Hour will be that people in a mosque will refuse to act as imam and will not find an imam to lead them in prayer.
“A man should not lead the another man in prayer.
Abu Dawud said: Yahya al-Qattan narrated from Shu’bah in a similar way, i.e. the earliest of them in recitation.