Valmiki Ramayana Sundara Kanda Sarga 54 Shloka 17
Original Shlokaतेषु तेषु महार्हेषु भवनेषु महायशाः। गृहेष्वृद्धिमतामृद्धिं ददाह स महाकपिः।।5.54.17।।
1 source checked for this shloka
महायशाः glorious, सः महाकपिः that great vanara, ऋद्धिमताम् of wealthy persons, महार्हेषु among valuable and precious one, तेषु तेषु among all those, गृहेषु in mansions, ऋद्धिम् wealth, ददाह burnt.
Moving among those highly luxurious mansions the glorious Vanara burnt away the wealth of all the rich demons.