England international James Ward-Prowse has returned to West Ham from Nottingham Forest following a mutual agreement between both clubs.