One verse

Srimad Bhagavatam 7.12.13-14

7.12.13-14

उषित्वैवं गुरुकुले द्विजोऽधीत्यावबुध्य च । त्रयीं साङ्गोपनिषदं यावदर्थं यथाबलम् ॥ १३ ॥ दत्त्वा वरमनुज्ञातो गुरो: कामं यदीश्वर: । गृहं वनं वा प्रविशेत्प्रव्रजेत्तत्र वा वसेत् ॥ १४ ॥

usitvaivam gurukule dvijo ’dhityavabudhya ca trayim sangopanisadam yavad-artham yatha-balam dattva varam anujnato guroh kamam yadisvarah grham vanam va praviset pravrajet tatra va vaset

usitva
residing
evam
in this way
gurukule
under the care of the spiritual master
dvi-jah
the twice-born, namely the brahmanas, ksatriyas and vaisyas
adhitya
studying Vedic literature
avabudhya
understanding it properly
ca
and
trayim
the Vedic literatures
sa-anga
along with supplementary parts
upanisadam
as well as the Upanisads
yavat-artham
as far as possible
yatha-balam
as far as one can, according to one’s ability
dattva
giving
varam
remuneration
anujnatah
being asked
guroh
of the spiritual master
kamam
desires
yadi
if
isvarah
capable
grham
household life
vanam
retired life
va
either
praviset
one should enter
pravrajet
or get out of
tatra
there
va
either
vaset
should reside

According to the rules and regulations mentioned above, one who is twice-born, namely a brahmana, ksatriya or vaisya, should reside in the gurukula under the care of the spiritual master. There he should study and learn all the Vedic literatures along with their supplements and the Upanisads, according to his ability and power to study. If possible, the student or disciple should reward the spiritual master with the remuneration the spiritual master requests, and then, following the master’s order, the disciple should leave and accept one of the other asramas, namely the grhastha-asrama, vanaprastha-asrama or sannyasa-asrama, as he desires.