Seeking knowledge is obligatory
طَلَبُ الْعِلْمِ فَرِيضَةٌ عَلَى كُلِّ مُسْلِمٍ
Talabu-l-ilmi faridatun ala kulli muslim.
"Seeking knowledge is an obligation upon every Muslim."
Narrated by Anas ibn Malik. Sunan Ibn Majah 224
A short reflection
Not on every scholar, not on every man. On every Muslim. The obligation is to learn enough to worship correctly, before any specialisation.