niyataṁ saṅga-rahitam arāga-dveṣhataḥ kṛitam
aphala-prepsunā karma yat tat sāttvikam uchyate
Translation
An action that is ordained, free from attachment, done without love or hatred, and without desire for reward is declared to be Sattvic.
What it means
Good action is done because it is right, without attachment, likes or dislikes, and without craving rewards.
Word by word
niyatam—in accordance with scriptures; saṅga-rahitam—free from attachment; arāga-dveṣhataḥ—free from attachment and aversion; kṛitam—done; aphala-prepsunā—without desire for rewards; karma—action; yat—which; tat—that; sāttvikam—in the mode of goodness; uchyate—is called