Bhagavad Gita Chapter 17.1
arjuna uvāca
ye śāstra-vidhim utsṛjya
yajante śraddhayānvitāḥ
teṣāḿ niṣṭhā tu kā kṛṣṇa
sattvam āho rajas tamaḥ
Translation
Arjuna inquired: O Krishna, what is the situation of those who do not follow the principles of scripture but worship according to their own imagination? Are they in goodness, in passion or in ignorance?