Marin, capped 16 times by Germany, arrived in London from Werder Bremen last season but missed the start of the campaign through injury and then struggled for first-team opportunities, not making his first league start until January.
The 24-year-old will spend next season at the La Liga side, subject to medical and legal clearance.
Get the best features, fun and footballing frolics straight to your inbox every week.
Thank you for signing up to Four Four Two. You will receive a verification email shortly.
There was a problem. Please refresh the page and try again.