Valmiki Ramayana Bala Kanda Sarga 2 Shloka 37
Original Shlokaयावद्रामायणकथा त्वत्कृता प्रचरिष्यति । तावदूर्ध्वमधश्च त्वं मल्लोकेषु निवत्स्यसि ।।1.2.37।।
1 source checked for this shloka
त्वत्कृता composed by you, रामायणकथा the Ramayana story, यावत् as long as, प्रचरिष्यति prevails, तावत् till then, त्वम् you, ऊर्ध्वम् the upper world, heaven, अधश्च the nether world, मल्लोकेषु in my (Brahmaloka), निवत्स्यसि will reside.
So long as the story of the Ramayana composed by you is remembered in this world, you will live in the upper world, the nether world and Brahmaloka".