Valmiki Ramayana Sundara Kanda Sarga 39 Shloka 29
Original Shlokaबलैस्समग्रैर्यदि मां रावणं जित्य संयुगे। विजयी स्वपुरं यायात्तत्तस्य सदृशं भवेत्।।5.39.29।।
1 source checked for this shloka
संयुगे in war, समग्रैः with the entire, बलैः with army, रावणम् Ravana, जित्य after winning, माम् me, विजयी victorious , स्वपुरम् his own city, यायात् यदि if he can reach, तत् that, तस्य his, सदृशम् worthy of him, भवेत् will be.
"It would be worthy of Rama if he with his entire army emerges victorious over Ravana in a battle and takes me to his city.