Shikshapatri 166
विद्यानासन्नसम्बन्धात्ताभिः पाठ्या न कापि नुः । व्रतोपवासैः कर्तव्यो मुहुर्देहदमस्तथा ॥ १६६ ॥
vidyānāsannasambandhāttābhiḥ pāṭhyā na kāpi nuḥ | vratopavāsaiḥ kartavyo muhurdehadamastathā || 166 ||
Instruction in any science should not be received by them from any man except from their nearest relations. They should frequently emaciate their bodies by vows and fasts.