Liverpool have agreed a £142m deal with Barcelona for midfielder Philippe Coutinho in what will be one of the most expensive transfers of all time.
The Reds are expected to receive £105m up front - a British record - for the 25-year-old Brazil international, with the rest in realistic add-ons.
The final deal will be eclipsed only by the £200m Paris St-Germain paid Barcelona for Neymar last summer, and the £165.7m Kylian Mbappe will cost PSG at the end of his initial loan spell from Monaco.
Coutinho joined Liverpool from Inter Milan for £8.5m in January 2013.
He stayed behind on Merseyside while final negotiations were concluded as his Liverpool team-mates flew to Dubai for a mid-season break.
The formalities of the deal are now expected to be concluded in Spain within the next 24 hours as Coutinho finally secures the switch he has craved since the Spanish giants made their first move for him in the summer.
Barcelona produced a superb away performance to secure a victory over Real Madrid that all but eliminates their arch rivals from the Spanish title race.
A second-half Luis Suarez strike and Lionel Messi's penalty, after Dani Carvajal was sent off for handball, helped move Barca nine points clear of Atletico Madrid at the top of La Liga, and increased their advantage over defending champions Real to 14 points.
Karim Benzema hit the post and Cristiano Ronaldo missed two good chances in the first half, but the home side were blown away after the restart in the first El Clasico meeting of the Spanish league season.
Los Blancos started with Gareth Bale on the bench, and although he forced a save form Marc-Andre Ter Stegen having been brought on following Carvajal's dismissal, the Wales forward was unable to spark a comeback.
Instead, late substitute Aleix Vidal added further insult in injury time with a third for Barca, as his shot from inside the box squeezed over the line after Messi's cut-back.
It is the first time Barca have won three consecutive away league matches at the Bernabeu, and the result leaves Zinedine Zidane's side fourth in the table.