The works of Ādi Śaṅkarācārya

Viṣṇusahasranāmastotram

Verse 43

हरिर्हरति पापानि दुष्टचित्तैरपि स्मृतः ।अनिच्छयापि संस्पृष्टो दहत्येव हि पावकः ॥

In plain words

Hari takes away sins even when the mind that remembers him is a foul one. Fire burns you when you touch it by accident too.

Close to the Sanskrit

Hari carries away sins, even when remembered by those of corrupt mind; for fire, even when touched unintentionally, indeed burns.