Bhagavad Gita Chapter 17, Text 25

Bg 17.25

tad ity anabhisandhaya
phalam yajna-tapah-kriyah
dana-kriyas ca vividhah
kriyante moksa-kanksibhih

Word for word: 
tat — that; iti — thus; anabhisandhaya — without desiring; phalam — the fruitive result; yajna — of sacrifice; tapah — and penance; kriyah — activities; dana — of charity; kriyah — activities; ca — also; vividhah — various; kriyante — are done; moksa-kanksibhih — by those who actually desire liberation.

Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada:
Without desiring fruitive results, one should perform various kinds of sacrifice, penance and charity with the word tat. The purpose of such transcendental activities is to get free from material entanglement.

Purport by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada:
To be elevated to the spiritual position, one should not act for any material gain. Acts should be performed for the ultimate gain of being transferred to the spiritual kingdom, back to home, back to Godhead.