These lines are attributed to Imām Shāfiýi :

kullamā addabanī ad-daharu
arānī naqsa áqlī
falamma-zdadtu ílman
zādanī ílman bi jahlī


Time has taught me good behaviour,
It has shown me the flaws of my intellect.
As my knowledge increases by the day,
The awareness of my ignorance amplifies.

Dīwān ash-Shāfiýī p.332; Al-Wāfī bi’l Wafyāt 2/179; Wafyāt al-Aáyān, ibn Khallikān 3/167