Bhagavad Gita 17.11
Chapter 17: The three kinds of faith
अफलाकाङ्क्षिभिर्यज्ञो विधिदृष्टोय इज्यते ।
यष्टव्यमेवेति मनः समाधाय स सात्त्विकः ॥ ११ ॥
The sacrifice which is offered by men without desire for fruit, as enjoined by the ordinances, under the firm belief that sacrifice is a duty, that is pure.
Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.