Srimad Bhagavatam Canto 06, Chapter 02, Text 40

SB 6.2.40

sa tasmin deva-sadana
 asino yogam asthitah
pratyahrtendriya-gramo
 yuyoja mana atmani
 
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
In Hardwar, Ajamila took shelter at a Visnu temple, where he executed the process of bhakti-yoga. He controlled his senses and fully applied his mind in the service of the Lord.
 
Purport by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
The devotees who have joined the Krsna consciousness movement may live comfortably in our many temples and engage in the devotional service of the Lord. Thus they can control the mind and senses and achieve the highest success in life. This is the process descending from time immemorial. Learning from the life of Ajamila, we should vow with determination to do what is necessary to follow this path.
Srimad Bhagavatam Canto 06, Chapter 02, Text 39
Srimad Bhagavatam Canto 06, Chapter 02, Text 41