Sunan an-Nasa'i, Hadith 840

It was narrated that Abu Sa'eed said: "The Messenger of Allahsaid: 'If there are three people, let one of them lead the others in prayer, and the one who has the most right to lead the prayer is the one who recites (knows) the most (Qur'an)."'

أَخْبَرَنَا قُتَيْبَةُ، قَالَ حَدَّثَنَا أَبُو عَوَانَةَ، عَنْ قَتَادَةَ، عَنْ أَبِي نَضْرَةَ، عَنْ أَبِي سَعِيدٍ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ إِذَا كَانُوا ثَلاَثَةً فَلْيَؤُمَّهُمْ أَحَدُهُمْ وَأَحَقُّهُمْ بِالإِمَامَةِ أَقْرَؤُهُمْ ‏" ‏ ‏.‏

sunnah.com