Śrīmad-Bhāgavatam · Text 10.6.8
Who is speaking and story frame
विबुध्य तां बालकमारिकाग्रहं
चराचरात्मा स निमीलितेक्षण: ।
अनन्तमारोपयदङ्कमन्तकं
यथोरगं सुप्तमबुद्धिरज्जुधी: ॥ ८ ॥
vibudhya tāṁ bālaka-mārikā-grahaṁ
carācarātmā sa nimīlitekṣaṇaḥ
anantam āropayad aṅkam antakaṁ
yathoragaṁ suptam abuddhi-rajju-dhīḥ
Lord Śrī Kṛṣṇa, the all-pervading Supersoul, lying on the bed, understood that Pūtanā, a witch who was expert in killing small children, had come to kill Him. Therefore, as if afraid of her, Kṛṣṇa closed His eyes. Thus Pūtanā took upon her lap Him who was to be her own annihilation, just as an unintelligent person places a sleeping snake on his lap, thinking the snake to be a rope.
Read Śrīla Prabhupāda's purport on Vedabase.io