Śrīmad-Bhāgavatam · Text 3.27.21
Who is speaking and story frame
श्रीभगवानुवाच
अनिमित्तनिमित्तेन स्वधर्मेणामलात्मना ।
तीव्रया मयि भक्त्या च श्रुतसम्भृतया चिरम् ॥ २१ ॥
śrī-bhagavān uvāca
animitta-nimittena
sva-dharmeṇāmalātmanā
tīvrayā mayi bhaktyā ca
śruta-sambhṛtayā ciram
The Supreme Personality of Godhead said: One can get liberation by seriously discharging devotional service unto Me and thereby hearing for a long time about Me or from Me. By thus executing one’s prescribed duties, there will be no reaction, and one will be freed from the contamination of matter.
Read Śrīla Prabhupāda's purport on Vedabase.io