Śrīmad-Bhāgavatam · Text 6.9.47
Who is speaking and story frame
श्रीभगवानुवाच
प्रीतोऽहं व: सुरश्रेष्ठा मदुपस्थानविद्यया ।
आत्मैश्वर्यस्मृति: पुंसां भक्तिश्चैव यया मयि ॥ ४७ ॥
śrī-bhagavān uvāca
prīto ’haṁ vaḥ sura-śreṣṭhā
mad-upasthāna-vidyayā
ātmaiśvarya-smṛtiḥ puṁsāṁ
bhaktiś caiva yayā mayi
The Supreme Personality of Godhead said: O beloved demigods, you have offered your prayers to Me with great knowledge, and I am certainly most pleased with you. A person is liberated by such knowledge, and thus he remembers My exalted position, which is above the conditions of material life. Such a devotee is fully purified by offering prayers in full knowledge. This is the source of devotional service to Me.
Read Śrīla Prabhupāda's purport on Vedabase.io