Barcelona and Real Madrid were heavily linked with the Brazilian but a move back to Spain is now off the cards