The righteous Caliph, ‘Umar ibn Abdul ‘Aziz رحمه الله said:
“Become a scholar if you are able.
If you are not able, then be a student.
If you can not, then show love for them.
If you are unable to do that, then {at least} do not hate them.”
{Related by Hafiz Yusuf Ibn Abd al-Barr رحمه الله in Jami’ al-Bayan al-‘Ilmi wa Fadhlihi pg. 143}