Amr bin Salama reported,

They came as a delegation to the Prophet ﷺ, and when they were ready to depart they said, "Messenger of Allah, who shall lead us in prayer?"He replied, "The one among you who has gathered the most of the Quran," or, "the one who has memorized the most of the Quran."He said, no one among the people had gathered as much as I had, so they put me forward, and I was just a boy with a small cloak on me. I never attended any gathering of the tribe of Jurm without being their imam, and I have led the funeral prayers for their dead up to this very day.

Abu Dawud 587

Sahih

حدثنا قتيبة حدثنا وكيع عن مسعر بن حبيب الجرمي

حدثنا عمرو بن سلمة عن أبيه

أنهم وفدوا إلى النبي ﷺ فلما أرادوا أن ينصرفوا قالوا يا رسول الله من يؤمنا قال أكثركم جمعا للقرآن أو أخذا للقرآن قال فلم يكن أحد من القوم جمع ما جمعته قال فقدموني وأنا غلام وعلي شملة لي فما شهدت مجمعا من جرم إلا كنت إمامهم وكنت أصلي على جنائزهم إلى يومي هذا

أبو داود 587صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Prayer
Chapter
One who is most deserving of leading the prayer
Numbering
Darussalam 587
Abu Dawud 587