慎勿视女色,亦莫共言语。
若与语者,正心思念:
我为沙门,处于浊世,当如莲花,不为泥汙。
想其老者如母,长者如姊,少者如妹,稚者如子。
生度脫心,息灭恶念。
— 释迦牟尼佛
《四十二章经》: 第二十九章
Be cautious not to see females’ forms, also not with them together speaking. If with those speaking, with the right mind think, “I, as a Śramaṇa, abiding in this defiled world, should be like a lotus flower, not by mud defiled.” Think of those old to be like your mothers, those older to be like your older sisters, those younger to be like your younger sisters, and those young to be like your children. Give rise to the mind to deliver and liberate them, to extinguish evil thoughts.
— Śākyamuni Buddha
(Sūtra Of 42 Sections: 29th Section)