Valmiki Ramayana Sundara Kanda Sarga 58 Shloka 29
Original Shlokaमत्प्रमाणानुरूपं च व्यादितं च मुखं तया।।5.58.29।। तद्दृष्ट्वा व्यादितं चास्यं ह्रस्वं ह्यकरवं वपुः। तस्मिन्मुहूर्ते च पुनर्बभूवाङ्गुष्ठमात्रकः।।5.58.30।।
1 source checked for this shloka
तया to go, मुखम् mouth, मत्प्रमाणानुरूपम् commensurate with my size, व्यादितम् opened, व्यादितम् when she opened, तत् that, आस्यम् her, दृष्ट्वा seeing, वपुः form, ह्रस्वम् turned away, आकरवम् to move, तस्मिन् from her, मुहूर्ते in a moment, पुनः again, अङ्गुष्ठमात्रकः of the size of thumb, बभूव became.
"She too opened her mouth wide enough for my size. Seeing her distending her mouth, in a moment I became small equal to the size of thumb and came out.