[Machine] The Messenger of Allah ﷺ said, "The leader of a people should be the one who migrated first. If they all migrated at the same time, then the one who has the most knowledge of the religion should be their leader. If they are all equal in knowledge, then the one who is most proficient in reciting the Quran should be their leader. No man should lead others in his authority nor should he sit upon his honored place except with his permission."
قَالَ رَسُولُ اللهِ ﷺ «يَؤُمُّ الْقَوْمَ أَقْدَمُهُمْ هِجْرَةً فَإِنْ كَانُوا فِي الْهِجْرَةِ سَوَاءً فَأَفْقَهُهُمْ فِي الدِّينِ فَإِنْ كَانُوا فِي الْفِقْهِ سَوَاءً فَأَقْرَؤُهُمْ لِلْقُرْآنِ وَلَا يُؤَمُّ الرَّجُلُ فِي سُلْطَانِهِ وَلَا يُقْعَدُ عَلَى تَكْرِمَتِهِ إِلَّا بِإِذْنِهِ»