Bhagavad Gita 4.14
न मां कर्माणि लिम्पन्ति न मे कर्मफले स्पृहा। इति मां योऽभिजानाति कर्मभिर्न स बध्यते।।4.14।।
na māṃ karmāṇi limpanti na me karmaphale spṛhā| iti māṃ yo'bhijānāti karmabhirna sa badhyate||4.14||
na mam karmani limpanti na me karmaphale spriha iti mam yo'bhijanati karmabhirna sa badhyate4.14
Meaning
Actions do not taint Krishna, nor does He desire their fruits. One who understands this truth about the Lord is also not bound by the consequences of actions.
कर्म मुझे लिप्त नहीं करते; न मुझे कर्मफल में स्पृहा है। इस प्रकार मुझे जो जानता है, वह भी कर्मों से नहीं बन्धता है।
This is verse 14 of 42 in Chapter 4 (Jnana Karma Sanyasa Yoga) of the Bhagavad Gita.