[Machine] On the authority of the Messenger of Allah ﷺ , he said, "Lead the people in prayer, the one who is most knowledgeable of the Book of Allah. If they are equal in recitation, then inform them of the Sunnah. If they are equal in knowledge of the Sunnah, then the one who migrated first. If they are equal in migration, then the one who is older in age. Do not lead anyone in his own domain, and do not sit on his cushion in his house unless he gives you permission."
عَنْ رَسُولِ اللهِ ﷺ قَالَ «يَؤُمُّ الْقَوْمَ أَقْرَؤُهُمْ لِكِتَابِ اللهِ فَإِنْ كَانُوا فِي الْقِرَاءَةِ سَوَاءً فَأَعْلَمُهُمْ بِالسُّنَّةِ فَإِنْ كَانُوا فِي عِلْمِ السُّنَّةِ سَوَاءً فَأَقْدَمُهُمْ هِجْرَةً فَإِنْ كَانُوا فِي الْهِجْرَةِ سَوَاءً فَأَقْدَمُهُمْ سِنًّا وَلَا تَؤُمَّ أَحَدًا فِي إِمْرَتِهِ وَلَا تَجْلِسْ عَلَى تَكْرِمَتِهِ فِي بَيْتِهِ إِلَّا أَنْ يَأْذَنَ لَكَ»