One verse

Srimad Bhagavatam 11.20.10

11.20.10

स्वधर्मस्थो यजन् यज्ञैरनाशी:काम उद्धव । न याति स्वर्गनरकौ यद्यन्यन्न समाचरेत् ॥ १० ॥

sva-dharma-stho yajan yajñair anāśīḥ-kāma uddhava na yāti svarga-narakau yady anyan na samācaret

sva-dharma
in one’s prescribed duties
sthaḥ
situated
yajan
worshiping
yajñaiḥ
by prescribed sacrifices
anāśīḥ-kāmaḥ
not desiring fruitive results
uddhava
My dear Uddhava
na
does not
yāti
go
svarga
to heaven
narakau
or to hell
yadi
if
anyat
something other than his prescribed duty
na
does not
samācaret
perform

My dear Uddhava, a person who is situated in his prescribed duty, properly worshiping by Vedic sacrifices but not desiring the fruitive result of such worship, will not go to the heavenly planets; similarly, by not performing forbidden activities he will not go to hell.