Bhagavad Gita · 18.19
ज्ञानं कर्म च कर्ता च त्रिधैव गुणभेदतः।प्रोच्यते गुणसंख्याने यथावच्छृणु तान्यपि॥
jñānaṁ karma cha kartā cha tridhaiva guṇa-bhedataḥ prochyate guṇa-saṅkhyāne yathāvach chhṛiṇu tāny api
In the science of the gunas, knowledge, action, and the doer are each declared to be of three kinds according to the differences in the gunas. Hear about these also.
— Bhagavad Gita 18.19
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)