Śrīmad-Bhāgavatam · Text 10.13.21
Who is speaking and story frame
तत्तद्वत्सान्पृथङ्नीत्वा तत्तद्गोष्ठे निवेश्य स: ।
तत्तदात्माभवद् राजंस्तत्तत्सद्म प्रविष्टवान् ॥ २१ ॥
tat-tad-vatsān pṛthaṅ nītvā
tat-tad-goṣṭhe niveśya saḥ
tat-tad-ātmābhavad rājaṁs
tat-tat-sadma praviṣṭavān
O Mahārāja Parīkṣit, Kṛṣṇa, who had divided Himself as different calves and also as different cowherd boys, entered different cow sheds as the calves and then different homes as different boys.
Read Śrīla Prabhupāda's purport on Vedabase.io