Xavi will return to Barcelona with three demands he insist be met.
After several days of negotiations over a release from his contract, the Qataris have confirmed Xavi is now leaving to return to the Nou Camp and replace sacked coach Ronald Koeman.
Sport says during talks with Barca officials, Xavi pushed for agreement over three points.
First of all, he wants the club's medical services to be restructured.
Then, he wants to take with him seven members of his current staff. This would be his two assistants, Oscar Hernandez, who is also his brother, and Sergio Alegre, but also Ivan Torres, physical trainer, and Carlos Nogueira, physiotherapist. David Prats, Toni Lobo and Sergio Garcia, all recruiters, would also follow Xavi.
Finally, he wants the recruitment of a winger in January. If he is confident about the return of Ousmane Dembélé, who is injured again, he wants an additional player for the position.
Manchester City attacker Raheem Sterling is under consideration.