Bhagavad Gita 4.23

गतसङ्गस्य मुक्तस्य ज्ञानवस्थितचेतस: |
यज्ञयाचरत्: कर्म समग्रं प्रविलीयते

Translation

They are released from the bondage of material attachments and their intellect is established in divine knowledge. Since they perform all actions as a sacrifice (to God), they are freed from all karmic reactions.