Upon delivering the King of the elephants from the clutches of the crocodile, and from material existence, which resembles a crocodile, the Lord awarded him the status of sārūpya-mukti. In the presence of the Gandharvas, the Siddhas and the other demigods, who were praising the Lord for His wonderful transcendental activities, the Lord, sitting on the back of His carrier, Garuḍa, returned to His all-wonderful abode and took Gajendra with Him.
Srimad Bhagavata Purana
श्रीमद्भागवतमहापुराणम्
मूल श्लोकः
एवं विमोक्ष्य गजयूथपमब्जनाभ- स्तेनापिपार्षदगतिं गमितेन युक्तः । गन्धर्वसिद्धविबुधैरुपगीयमान- कर्माद्भुतं स्वभवनं गरुडासनोऽगात्
evaṃ vimokṣya gajayūthapamabjanābha- stenāpipārṣadagatiṃ gamitena yuktaḥ | gandharvasiddhavibudhairupagīyamāna- karmādbhutaṃ svabhavanaṃ garuḍāsano'gāt
SB 8.4.13