Śrīmad-Bhāgavatam · Text 6.2.49
Who is speaking and story frame
म्रियमाणो हरेर्नाम गृणन् पुत्रोपचारितम् ।
अजामिलोऽप्यगाद्धाम किमुत श्रद्धया गृणन् ॥ ४९ ॥
mriyamāṇo harer nāma
gṛṇan putropacāritam
ajāmilo ’py agād dhāma
kim uta śraddhayā gṛṇan
While suffering at the time of death, Ajāmila chanted the holy name of the Lord, and although the chanting was directed toward his son, he nevertheless returned home, back to Godhead. Therefore if one faithfully and inoffensively chants the holy name of the Lord, where is the doubt that he will return to Godhead?
Read Śrīla Prabhupāda's purport on Vedabase.io