Reference: al-Hilyah – Volume 7/Page 483
Sufyaan ibn ‘Uyaynah said:
The scholar is not he who [just] knows about the good and the bad, rather, the scholar is he who knows about the good and adheres to it, [just as he] knows of the bad and refrains from it.