Valmiki Ramayana Aranya Kanda Sarga 74 Shloka 35
Original Shlokaयत्र ते सुकृतात्मानो विहरन्ति महर्षयः।।3.74.35।। तत्पुण्यं शबरी स्थानं जगामात्मसमाधिना।
1 source checked for this shloka
शबरी Sabari, आत्मसमाधिना her meditation, सुकृतात्मानः who did good deeds, ते महर्षयः the great sages, यत्र where, विहरन्ति moved, तत् that, पुण्यम् sacred, स्थानम् holy place, जगाम went.
By virtue of her selfmeditation, Sabari went to that sacred world where the holy sages lived because of their good deeds. इत्यार्ष श्रीमद्रामायणे वाल्मीकीय आदिकाव्ये अरण्यकाण्डे चतुस्सप्ततितमस्सर्गः।। Thus ends the seventyfourth sarga of Aranyakanda of the holy Ramayana the first epic composed by sage Valmiki.