Dani Alves passed his medical with Barcelona on Monday meaning the Brazilian can sign a contract until the end of the season with his former club.
Barca announced the deal on Friday and Alves, 38, arrived in Spain on Saturday.
The flirting between Alves and Barcelona started in October, when the veteran visited the city and went to the Camp Nou to attend the Champions League game against Dynamo Kyiv