Bhagavad Gita 4.41

Chapter 4: Knowledge and the offering of action

योगसंन्यस्तकर्माणं ज्ञानसञ्छिन्नसंशयम् ।
आत्मवन्तं न कर्माणि निबध्नन्ति धनञ्जय ॥ ४१ ॥

He who hath renounced actions by yoga, who hath cloven asunder doubt by wisdom, who is ruled by the Self, actions do not bind him, O Dhananjaya.

Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.