Valmiki Ramayana Sundara Kanda Sarga 30 Shloka 1
Original Shlokaहनुमानपि विक्रान्तः सर्वं शुश्राव तत्त्वतः। सीतायास्त्रिजटायाश्च राक्षसीनां च तर्जनम्।।5.30.1।।
1 source checked for this shloka
विक्रान्तः valiant hero, हनुमानपि Hanuman also, सीतायाश्च Sita's, त्रिजटायाश्च Trijata's, सर्वम् everything, राक्षसीनाम् shedemons, तर्जनम् threatening, तत्त्वतः in principle, शुश्राव heard.
The valiant hero Hanuman heard everything including the lamentation of Sita and the dream of Trijata and the threats of the demonesses. Hanuman decides to praise Rama within Sita's earshot.