Śrīmad-Bhāgavatam · Texts 8.24.2-3
Who is speaking and story frame
यदर्थमदधाद् रूपं मात्स्यं लोकजुगुप्सितम् ।
तम:प्रकृति दुर्मर्षं कर्मग्रस्त इवेश्वर: ॥ २ ॥
एतन्नो भगवन् सर्वं यथावद् वक्तुमर्हसि ।
उत्तमश्लोकचरितं सर्वलोकसुखावहम् ॥ ३ ॥
yad-artham adadhād rūpaṁ
mātsyaṁ loka-jugupsitam
tamaḥ-prakṛti-durmarṣaṁ
karma-grasta iveśvaraḥ
etan no bhagavan sarvaṁ
yathāvad vaktum arhasi
uttamaśloka-caritaṁ
sarva-loka-sukhāvaham
What was the purpose for which the Supreme Personality of Godhead accepted the abominable form of a fish, exactly as an ordinary living being accepts different forms under the laws of karma? The form of a fish is certainly condemned and full of terrible pain. O my lord, what was the purpose of this incarnation? Kindly explain this to us, for hearing about the pastimes of the Lord is auspicious for everyone.
Read Śrīla Prabhupāda's purport on Vedabase.io