Bhagavad Gita 4.14
Chapter 4: Knowledge and the offering of action
न मां कर्माणि लिम्पन्ति न मे कर्मफले स्पृहा ।
इति मां योऽभिजानाति कर्मभिर्न स बद्ध्यते ॥ १४ ॥
Nor do actions affect Me, nor is the fruit of action desired by Me. He who thus knoweth Me is not bound by actions.
Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.