Valmiki Ramayana Yuddha Kanda Sarga 4 Shloka 119
Original Shlokaसम्पृक्तं नभसाप्यम्भस्सम्पृक्तं च नभोऽम्भसा । तादृग्रूपेच दृश्यते तारारत्नसमाकुले ।।6.4.119।।
1 source checked for this shloka
अम्भः water, नभसा of the sky, सम्पृक्तम् close to each other, तारारत्नसमाकुले covered with stars and gems, तादृग्रूपे those two, दृश्येते appeared
The ocean and the sky filled with gems and stars respectively appeared alike.