Śrīmad-Bhāgavatam · Text 3.13.26
Who is speaking and story frame
तेषां सतां वेदवितानमूर्ति-
र्ब्रह्मावधार्यात्मगुणानुवादम् ।
विनद्य भूयो विबुधोदयाय
गजेन्द्रलीलो जलमाविवेश ॥ २६ ॥
teṣāṁ satāṁ veda-vitāna-mūrtir
brahmāvadhāryātma-guṇānuvādam
vinadya bhūyo vibudhodayāya
gajendra-līlo jalam āviveśa
Playing like an elephant, He entered into the water after roaring again in reply to the Vedic prayers by the great devotees. The Lord is the object of the Vedic prayers, and thus He understood that the devotees’ prayers were meant for Him.
Read Śrīla Prabhupāda's purport on Vedabase.io