It is narrated from Zakariyya that al-Sha'bi said: The will of a boy or a girl is not valid until they reach the age of prayer.