Hafiz Yusuf ibn Abd al-Barr al-Andalusi رحمه الله said:
” They should not prevent the youth, if he knows something, from speaking about what he has knowledge of. Perhaps a person may be young in age, but an elder with regards to his knowledge. And Allah blesses whom He wills through wisdom and mercy.”
{At-Tamhid, Volume 23, pg. 150}