Valmiki Ramayana Aranya Kanda Sarga 12 Shloka 24
Original Shlokaएवमुक्त्वा महाबाहुरगस्त्यं सूर्यवर्चसम्। जग्राह परमप्रीतस्तस्य पादौ परन्तपः।।3.12.24।।
1 source checked for this shloka
महाबाहुः one with mighty arms, परन्तपः scorcher of enemies, सूर्यवर्चसम् shining like the Sun, अगस्त्यस्य Agastya's, एवम् in that way, उक्त्वा having said, परमप्रीतः with great pleasure, तस्य his, पादौ feet, जग्राह grasped.
Having said so, the mightyarmed Rama, the scorcher of enemies, grasped the feet of Agastya who was shining like the Sun.