One verse

Srimad Bhagavatam 3.29.9

3.29.9

विषयानभिसन्धाय यश ऐश्वर्यमेव वा । अर्चादावर्चयेद्यो मां पृथग्भाव: स राजस: ॥ ९ ॥

visayan abhisandhaya yasa aisvaryam eva va arcadav arcayed yo mam prthag-bhavah sa rajasah

visayan
sense objects
abhisandhaya
aiming at
yasah
fame
aisvaryam
opulence
eva
indeed
va
or
arca-adau
in worship of the Deity and so on
arcayet
may worship
yah
he who
mam
Me
prthak-bhavah
a separatist
sah
he
rajasah
in the mode of passion.

The worship of Deities in the temple by a separatist, with a motive for material enjoyment, fame and opulence, is devotion in the mode of passion.