One who has transcended material good and evil automatically acts in accordance with religious injunctions and avoids forbidden activities. The self-realized person does this spontaneously, like an innocent child, and not because he is thinking in terms of material good and evil.
Srimad Bhagavata Purana
श्रीमद्भागवतमहापुराणम्
मूल श्लोकः
दोषबुद्ध्योभयातीतो निषेधान्न निवर्तते । गुणबुद्ध्या च विहितं न करोति यथार्भकः
doṣabuddhyobhayātīto niṣedhānna nivartate | guṇabuddhyā ca vihitaṃ na karoti yathārbhakaḥ
SB 11.7.11