Srimad Bhagavatam Canto 06, Chapter 02, Text 19

SB 6.2.19

yathagadam viryatamam
 upayuktam yadrcchaya
ajanato ’py atma-gunam
 kuryan mantro ’py udahrtah
 
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
If a person unaware of the effective potency of a certain medicine takes that medicine or is forced to take it, it will act even without his knowledge because its potency does not depend on the patient’s understanding. Similarly, even though one does not know the value of chanting the holy name of the Lord, if one chants knowingly or unknowingly, the chanting will be very effective.
 
Purport by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
In the Western countries, where the Hare Krsna movement is spreading, learned scholars and other thoughtful men are realizing its effectiveness. For example, Dr. J. Stillson Judah, a learned scholar, has been very much attracted to this movement because he has actually seen that it is turning hippies addicted to drugs into pure Vaisnavas who voluntarily become servants of Krsna and humanity. Even a few years ago, such hippies did not know the Hare Krsna mantra, but now they are chanting it and becoming pure Vaisnavas. Thus they are becoming free from all sinful activities, such as illicit sex, intoxication, meat-eating and gambling. This is practical proof of the effectiveness of the Hare Krsna movement, which is supported in this verse. One may or may not know the value of chanting the Hare Krsna mantra, but if one somehow or other chants it, he will immediately be purified, just as one who takes a potent medicine will feel its effects, regardless of whether he takes it knowingly or unknowingly.
Srimad Bhagavatam Canto 06, Chapter 02, Text 18
Srimad Bhagavatam Canto 06, Chapter 02, Text 20