If Madrid buys him back, it will be to sell him to EPL. A simple bridge.
It's de most likely outcome IMO. He has Arsenal written all over him, would fit as glove in their player rofile and team, they would gladly pay 50M euros for him. Madrid would make 40M in the end, not bad.