No official talks have happened yet, but the club has told the player that they would be open to discussing a transfer if he decides to leave Real Madrid.
Barcelona's recent signing of Marcus Rashford, combined with the intense rivalry between Barcelona and Real Madrid, makes it less likely that they will sign the other player.
It's worth noting that Barcelona and Real Madrid have made transfers before, but it's been 17 years since they made a deal directly with each other.