Sunan an-Nasa'i 780

سنن النسائي#780Sahih

It was narrated that Abu Masud said:"The Messenger of Allah(ﷺ)said: 'Let the one who has most knowledge of the Book of Allah lead the people in prayer. If they are equal in terms of knowledge of the Qur'h, let the one who emigrated first (lead them). If they are equal in terms of emigration, let the one who has more knowledge of the Sunnah, (lead them). If they are equal in terms of knowledge of the Sunnah, let the one who is oldest (lead them). Do not lead a man in prayer in his place of authority, and do not sit in his place of honor, unless he gives you permission

Scholarly Authentication

We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:

Abu GhuddahSahih
Al-AlbaniSahih
Zubair Ali ZaiSahih

In-book reference: 10:4