The Argentine is set to quit the Riverside at the end of the season should Boro go down and could make the move to Spain this summer.
Atletico Madrid have also been linked with a move for the 28-year-old and are already considering a deal for the versatile midfielder.