[Muslim].
In another narration in Muslim: Messenger of Allah (ﷺ) said, "One who is senior most in accepting Islam, should lead the Salat (prayer)".
Yet another narration is: Messenger of Allah (ﷺ) said, "A man who is well versed in the Book of Allah and can recite it better, should lead the Salat (prayer); if (all those present) are equal in this respect, then the man who is senior most in respect of emigration, if they are equal in that respect too, then the oldest of them should lead the prayer".
[Muslim].
وفي رواية له: "فأقدمهم سلمًا" بدل "سنًا" : أو إسلامًا.
وفي رواية: يؤم القوم أقرؤهم لكتاب الله، وأقدمهم قراءة، فإن كانت قراءتهم فيؤمهم أقدمهم هجرة، فإن كانوا في الهجرة سواء، فليؤمهم أكبرهم سنًا".
Reference | : Riyad as-Salihin 348 |
In-book reference | : Introduction, Hadith 348 |