Al-Ilmam bi-Ahadith al-Ahkam 304
وَعَن أبي مَسْعُود الْأنْصَارِيّ رَضِيَ اللَّهُ عَنْه قَالَ: قَالَ رَسُول الله ﷺ " يؤم الْقَوْم أقرؤهم لكتاب الله، فَإِن كَانُوا فِي الْقِرَاءَة سَوَاء فأعلمهم بالسُّنة ﷺ فَإِن كَانُوا فِي السُّنة سَوَاء فأقدمهم هِجْرَة، فَإِن كَانُوا فِي الْهِجْرَة سَوَاء فأقدمهم سلما، وَلَا يُؤمَّ الرجل فِي سُلْطَانه، وَلَا يقْعد فِي بَيته عَلَى تكرمته إِلَّا بِإِذْنِهِ ". أخرجه مُسلم. وَفِي رِوَايَة لَهُ مَكَان: " سلما " " سنا ". وَفِي رِوَايَة: " يؤم الْقَوْم أقرؤهم لكتاب الله (وأقدمهم قِرَاءَة) ، فَإِن كَانَت قراءتهم سَوَاء فليؤمهم أقدمهم هِجْرَة، فَإِن كَانُوا فِي الْهِجْرَة سَوَاء فليؤمهم أكبرهم سنا، وَلَا يُؤمَّ الرجل فِي أَهله، وَلَا فِي سُلْطَانه، وَلَا تجْلِس عَلَى تكرمته فِي بَيته إِلَّا أَن يَأْذَن لَك، أَو بِإِذْنِهِ ".
And from Abu Masʿud al-Ansari, may Allah be pleased with him, who said: The Messenger of Allah ﷺ said: "The people should be led by the one who is best at reciting the Book of Allah. If they are equal in recitation, then the one who knows the Sunnah best. If they are equal in the Sunnah, then the one who emigrated first. If they are equal in emigration, then the one who accepted Islam first. A man should not be led in prayer where he has authority, nor should anyone sit in his house in his place of honour except with his permission." Muslim recorded it. And in a narration of his, in place of "accepted Islam first": "the eldest." And in a narration: "The people should be led by the one who is best at reciting the Book of Allah (and the earliest of them in recitation). If their recitation is equal, then let them be led by the one who emigrated first. If they are equal in emigration, then let them be led by the eldest of them. A man should not be led in prayer among his family, nor where he has authority, and do not sit in his place of honour in his house unless he permits you," or "with his permission."