Valmiki Ramayana Sundara Kanda Sarga 31 Shloka 12
Original Shlokaतत स्स वालिनं हत्वा रामः परपुरञ्जयः।।5.31.12।। प्रायच्छत्कपिराज्यं तत्सुग्रीवाय महाबलः।
1 source checked for this shloka
ततः then, परपुरञ्जयः one who can win over enemy forts, महाबलः powerful, सः रामः that Rama, वालिनम् that Vali, हत्वा having killed, तत् that, कपिराज्यम् kingdom of the monkeys, सुग्रीवाय to Sugriva, प्रायच्छत् offered.
"Rama, a powerful king, who can win enemy forts killed Vali and offered the monkey kingdom to Sugriva.