Srimad-Bhagavatam: Canto 10 - Chapter 1 - Verse 28


Sanskrit:

कृत्यं किमत्रास्य खलस्य जीवनंन वा अमीषां च सतां विहिंसनम् ।द्वयं कथं स्यादिति संविचिन्त्यज्ञात्वाविशत्तुण्डमशेषद‍ृग्घरि: ॥ २८ ॥

ITRANS:

kṛtyaṁ kim atrāsya khalasya jīvanaṁna vā amīṣāṁ ca satāṁ vihiṁsanamdvayaṁ kathaṁ syād iti saṁvicintyajñātvāviśat tuṇḍam aśeṣa-dṛg ghariḥ

Translation:

Now, what was to be done? How could both the killing of this demon and the saving of the devotees be performed simultaneously? Kṛṣṇa, being unlimitedly potent, decided to wait for an intelligent means by which He could simultaneously save the boys and kill the demon. Then He entered the mouth of Aghāsura.

Purport:

Kṛṣṇa is known as ananta-vīrya-sarvajña because everything is known to Him. Because He knows everything perfectly well, it was not difficult for Him to find a means by which He could save the boys and at the same time kill the demon. Thus He also decided to enter the demon’s mouth.