Bhagavad Gita · 9.28
शुभाशुभफलैरेवं मोक्ष्यसे कर्मबन्धनैः।संन्यासयोगयुक्तात्मा विमुक्तो मामुपैष्यसि॥
śhubhāśhubha-phalair evaṁ mokṣhyase karma-bandhanaiḥ sannyāsa-yoga-yuktātmā vimukto mām upaiṣhyasi
Thus you shall be freed from the bondage of action and its good and bad results. With your mind established in the yoga of renunciation, liberated, you shall come to Me.
— Bhagavad Gita 9.28
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)