As-salamu `alaykum wa rahmatullah

Ibn Rushd al-Hafid says in his book, ‘Bidayat al-Mujtahid’ regarding Imamah (leading the prayers):

‘They (the Jurists) differed over who has the most right to lead (in the prayers).

Malik said, ‘The one who has the most knowledge (understanding of religion) leads the people and not the one who knows the most Qur’an’ – and this was also the opinion of al-Shafi’i.

Abu Hanifa, Sufyan al-Thawri and Ahmad however said: ‘The one who knows the most Qur’an leads the people.’

The reason for their ikhtilaf (difference) is due to their difference in understanding the hadith of the Prophet (sallallahu `alayhi wa sallam): ‘The one with the most Qur’an (أقرؤهم) leads the people. If they are the same in recitation, then the one with the most knowledge of the Sunnah. If they are the same in that, then the one to have made Hijrah first. If they are the same in that, then the one to have become Muslim first. A man doesn’t lead another man in his authority nor does he take his place in his home with respect except with his permission.’ [Sahih Muslim]

It is a hadith whose authenticity the scholars are in agreement with, but they differed over its understanding. From them is one who took it upon its literal meaning and that is Abu Hanifa, and from them is one who understood الأقرأ (‘most read’) here to mean الأفقه (‘most knowledgeable’) because he asserts that the need for understanding when it comes to leading the salah is greater than the need for (simply) reciting. And also, that the Companions who knew the Qur’an the most were also those who had the most knowledge by default, and that the people of today are in contrast to that (i.e. those who recite the Qur’an today are not always those with the most knowledge of the Deen of Allah).’

– Bidayat al-Mujtahid wa Nihayat al-Muqtasid, vol. 1; pg. 183