[Machine] The Messenger of Allah ﷺ said, "The one who leads the people in prayer is the one who knows the most Qur'an. And if they are equal in their knowledge of the Qur'an, then the one with the most emigration is the most deserving. And if they are equal in emigration, then the one with the most understanding of the religion is the most deserving. And if they are equal in their understanding, then the oldest among them is the most deserving." "Muslim has narrated the hadith of Isma'il ibn Raja'ah without mentioning the phrase 'the one with the most understanding of the religion'. This phrase is a rare but valuable wording in this authentic chain, and there is a supporting narration from Hujjaj ibn Arta'ah." Sahih.
قَالَ رَسُولُ اللَّهِ ﷺ «يَؤُمُّ الْقَوْمَ أَكْثَرُهُمْ قُرْآنًا فَإِنْ كَانُوا فِي الْقُرْآنِ وَاحِدًا فَأَقْدَمُهُمْ هِجْرَةً فَإِنْ كَانُوا فِي الْهِجْرَةِ وَاحِدًا فَأَفْقَهُهُمْ فِقْهًا فَإِنْ كَانُوا فِي الْفِقْهِ وَاحِدًا فَأَكْبَرُهُمْ سِنًّا» «قَدْ أَخْرَجَ مُسْلِمٌ حَدِيثَ إِسْمَاعِيلَ بْنِ رَجَاءٍ هَذَا وَلَمْ يَذْكُرْ فِيهِ» أَفْقَهُهُمْ فِقْهًا «وَهَذِهِ لَفْظَةٌ غَرِيبَةٌ عَزِيزَةٌ بِهَذَا الْإِسْنَادِ الصَّحِيحِ وَلَهُ شَاهِدٌ مِنْ حَدِيثِ الْحَجَّاجِ بْنِ أَرْطَأَةَ» صحيح