Ibn Abdul Barr reported: Ibn Abi Ghassan, may Allah have mercy on him, said, “You will have knowledge as long as you are a student. If you consider yourself sufficient, you will become ignorant.”
Source: Jāmi’ Bayān al-‘Ilm 430
عن ابن عبد البر قال ابن أبي غسان رحمه الله لا تَزَالُ عَالِمًا مَا كُنْتَ مُتَعَلِّمًا فَإِذَا اسْتَغْنَيْتَ كُنْتَ جَاهِلا
430 جامع بيان العلم وفضله لابن عبد البر