[Machine] The Messenger of Allah ﷺ said, "The one who has the most knowledge of the Book of Allah should lead the people in prayer. If they are equal in recitation, then the one who has more knowledge of the Sunnah should teach them. If they are equal in knowledge of the Sunnah, then the one who is older should lead them in prayer. He should not be led in prayer in his own authority, and no one should sit on his pulpit except with his permission."
قَالَ رَسُولُ اللهِ ﷺ «يَؤُمُّ الْقَوْمَ أَقْرَؤُهُمْ لِكِتَابِ اللهِ فَإِنْ كَانُوا فِي الْقِرَاءَةِ سَوَاءً فَأَعْلِمْهُمْ بِالسُّنَّةِ فَإِنْ كَانُوا فِي السُّنَّةِِ سَوَاءً فَأَكْبَرُهُمْ سِنًّا وَلَا يُؤَمُّ فِي سُلْطَانِهِ وَلَا يُجْلَسُ عَلَى تَكْرِمَتِهِ إِلَّا بِإِذْنِهِ»