Bhagavad Gita 18.19

Chapter 18: Freedom through renunciation

ज्ञानं कर्म च कर्ता च त्रिधैव गुणभेदतः ।
प्रोच्यते गुणसङ्ख्याने यथावच्छृणु तान्यपि ॥ १९ ॥

Knowledge, action and actor in the category of qualities are also said to be severally threefold, from the difference of qualities; hear thou duly these also.

Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.