The veteran right-back was a long-time colleague of the Barca striker and was on hand to comfort his countryman.
Dani Alves has revealed what he said to Neymar as the Barcelona star departed the field in tears at Camp Nou on Wednesday.
Juventus eliminated the Catalans from the Champions League with a 3-0 aggregate victory, having played a scoreless second leg in Spain, with the forward having to be consoled by his former Barca team-mate.
“I told him that that’s life – we had to face each other,” Alves explained to beIN Sport.
“I did not want to measure myself just on this, we have experienced these moments together and now we experience them apart so it is hard.
“We have to focus on our jobs, but the feeling is there.”
Alves, 33, turned out for Barcelona for eight seasons between 2008 and 2016, making close to 400 appearances for the Camp Nou side, becoming a European champion on three occasions.
He departed for Juventus on a free transfer last summer and has helped the Serie A leaders into the semi-finals of the Champions League, where they will face Real Madrid, Atletico Madrid or Monaco.
His former club, meanwhile, face an uphill battle to win any silverware after their elimination as they trail Real Madrid by three points in La Liga before the weekend’s Classico.