Bulugh al-Maram 408
وَعَنْ أَبِي مَسْعُودٍ - رضي الله عنه - قَالَ: قَالَ رَسُولُ اللَّهِ - صلى الله عليه وسلم: «يَؤُمُّ الْقَوْمَ أَقْرَؤُهُمْ لِكِتَابِ اللَّهِ, فَإِنْ كَانُوا فِي الْقِرَاءَةِ سَوَاءً فَأَعْلَمُهُمْ بِالسُّنَّةِ, فَإِنْ كَانُوا فِي السُّنَّةِ سَوَاءً فَأَقْدَمُهُمْ هِجْرَةً, فَإِنْ كَانُوا فِي الْهِجْرَةِ سَوَاءً فَأَقْدَمُهُمْ سِلْمًا - وَفِي رِوَايَةٍ: سِنًّا - وَلَا يَؤُمَّنَّ الرَّجُلُ الرَّجُلَ فِي سُلْطَانِهِ, وَلَا يَقْعُدْ فِي بَيْتِهِ عَلَى تَكْرِمَتِهِ إِلَّا بِإِذْنِهِ». رَوَاهُ مُسْلِمٌ.
Abu Masʿud, may Allah be pleased with him, 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 most knowledgeable of them in the Sunnah. If they are equal in the Sunnah, then the earliest of them in hijrah. If they are equal in hijrah, then the earliest of them in Islam" — and in a narration: "in age" — "and no man should lead another man in his domain of authority, nor sit in his house in his place of honour except with his permission." Reported by Muslim.