Sahih Muslim 1070: Prayer and Its Conditions
Hazrat Abu Mas’ud Ansari (ra) relates that the Messenger of Allah (saw) said: “Let the one lead people in Prayer who is the most versed among them in the Book of Allah. If they are equal in knowledge of the Qur’an, then the one among them who has the most knowledge of the Sunnah. If they are equal (in knowledge of) the Sunnah, then the one among them who migrated first. If they are equal in migration as well, then the one foremost in accepting Islam. No man should lead another man in Prayer within the latter’s jurisdiction, nor sit in his place of honour in his house without his permission.” Ashajj, in his narration, said sinnan (that is, the eldest in age) instead of silman (that is, in terms of accepting Islam).
AI-translated by Islam-Today