Bhagavad Gita 3.17
यस्त्वात्मरतिरेव स्यादात्मतृप्तश्च मानवः। आत्मन्येव च सन्तुष्टस्तस्य कार्यं न विद्यते।।3.17।।
yastvātmaratireva syādātmatṛptaśca mānavaḥ| ātmanyeva ca santuṣṭastasya kāryaṃ na vidyate||3.17||
yastvatmaratireva syadatmatriptashca manavah atmanyeva ca santushtastasya karyam na vidyate3.17
Meaning
However, for one who rejoices only in the Self, who is satisfied with the Self, and who is content in the Self alone — for such a person there is no obligatory duty.
परन्तु जो मनुष्य आत्मा में ही रमने वाला आत्मा में ही तृप्त तथा आत्मा में ही सन्तुष्ट हो उसके लिये कोई कर्तव्य नहीं रहता।
This is verse 17 of 43 in Chapter 3 (Karma Yoga) of the Bhagavad Gita.