Imam al-Baqir (AS) said:
وَجَدتُ في الكِتابِ [يَعني كِتاباً لِعَلِيٍّ عليه السلام] أنَّ قيمَةَ كُلِّ امرِئٍ وقَدرَهُ مَعرِفَتُهُ، إنَّ اللَّهَ تَبارَكَ وتَعالى يُحاسِبُ النّاسَ عَلى قَدرِ ما آتاهُم مِنَ العُقولِ في دارِ الدّنيا.
‘I found written in the Book [i.e. the Book ascribed to Imam Ali (AS)] that the worth and value of every man is his knowledge. Verily Allah, Blessed and most High, will take people to account according to the intellects that He has given them in this world’s life.’
Maani al-Akhbar, p. 1, no. 2