[Machine] The Messenger of Allah, ﷺ , said, "The person who knows the Quran the most should be the one to lead others in prayer. If they are equal in recitation, then the one who made the earliest migration should lead. If they are equal in migration, then the one who is older should lead. Do not appoint a ruler over his domain without his permission, and do not sit on his mattress without his permission."
قَالَ رَسُولُ اللهِ ﷺ «يَؤُمُّ الْقَوْمَ أَقْرَؤُهُمْ لِكِتَابِ اللهِ فَإِنْ كَانُوا فِي الْقِرَاءَةِ سَوَاءً فَأَقْدَمُهُمْ هِجْرَةً فَإِنْ كَانُوا فِي الْهِجْرَةِ سَوَاءً فَأَقْدَمُهُمْ سِنًّا وَلَا تَؤُمَّنَّ ذَا سُلْطَانٍ فِي سُلْطَانِهِ وَلَا تَجْلِسْ عَلَى تَكْرِمَتِهِ إِلَّا بِإِذْنِهِ»