Śrīmad-Bhāgavatam · Text 2.7.4
Who is speaking and story frame
अत्रेरपत्यमभिकाङ्क्षत आह तुष्टो
दत्तो मयाहमिति यद् भगवान् स दत्त: ।
यत्पादपङ्कजपरागपवित्रदेहा
योगर्द्धिमापुरुभयीं यदुहैहयाद्या: ॥ ४ ॥
atrer apatyam abhikāṅkṣata āha tuṣṭo
datto mayāham iti yad bhagavān sa dattaḥ
yat-pāda-paṅkaja-parāga-pavitra-dehā
yogarddhim āpur ubhayīṁ yadu-haihayādyāḥ
The great sage Atri prayed for offspring, and the Lord, being satisfied with him, promised to incarnate as Atri’s son, Dattātreya [Datta, the son of Atri]. And by the grace of the lotus feet of the Lord, many Yadus, Haihayas, etc., became so purified that they obtained both material and spiritual blessings.
Read Śrīla Prabhupāda's purport on Vedabase.io