Valmiki Ramayana Sundara Kanda Sarga 6 Shloka 27
Original Shlokaभवनम् क्रममाणः णोऽसौ हनुमान्मारुतात्मजः।।5.6.26।। तेषु तेषु महार्हेषु भवनेषु महायशाः। तेषामृद्धिमतामृद्धिं ददर्श स महाकपिः।।5.6.27।।
1 source checked for this shloka
मारुतात्मजः son of the Windgod, महायशाः illustrious, महाकपिः great monkey, सः हनुमान् Hanuman, महार्हेषु in lofty places, तेषु तेषु in several places, भवनेषु in mansions, क्रमेणैव in order, क्रममाणः while he was advancing, ऋद्धिमताम् of the wealthy ones, तेषाम् their, ऋद्धिम् wealth, ददर्श saw
The illustrious son of the Windgod jumped from house to house in an order and saw the wealth of the wealthy in the lofty mansions.