One verse

Srimad Bhagavatam 11.21.15

11.21.15

मन्त्रस्य च परिज्ञानं कर्मशुद्धिर्मदर्पणम् । धर्म: सम्पद्यते षड्‌भिरधर्मस्तु विपर्यय: ॥ १५ ॥

mantrasya ca parijñānaṁ karma-śuddhir mad-arpaṇam dharmaḥ sampadyate ṣaḍbhir adharmas tu viparyayaḥ

mantrasya
(the purification) of a mantra
ca
and
parijñānam
correct knowledge
karma
of work
śuddhiḥ
the purification
mat-arpaṇam
offering unto Me
dharmaḥ
religiousness
sampadyate
is achieved
ṣaḍbhiḥ
by the six (purification of place, time, substance, the doer, the mantras and the work)
adharmaḥ
irreligiosity
tu
but
viparyayaḥ
otherwise

A mantra is purified when chanted with proper knowledge, and one’s work is purified when offered to Me. Thus by purification of the place, time, substance, doer, mantras and work, one becomes religious, and by negligence of these six items one is considered irreligious.