Bhagavad Gita 18.23

नियतं सङ्गृहीमृतमराग्द्वेषत: कृतम् |
अफलप्सुना कर्म यत्सत्त्विकमुच्यते

Translation

Action that is in accordance with the scriptures, free from attachment and aversion, and done without desire for rewards, is in the mode of goodness.