Gerard Pique will play his last game for Barcelona on Saturday night.
The Barcelona legend has fallen down the pecking order this season under manager Xavi.
He decided to call time on his career and will play his final match at Camp Nou tonight.
“The Almeria game will be conditioned by Pique’s goodbye,” Xavi said in a news conference on Friday.
“He deserves all the praise that comes his way. I have been lucky enough to be his teammate and now his coach. Certain circumstances have led him to take this decision and I understand them.
“He has won everything here, is one of the best centre-backs ever and his decision is respected. He earned the right to decide. He is a club legend and he deserves to be remembered as such.”
Xavi claims overseeing Pique’s retirement has been one of the difficult moments of his managerial career.
“We spoke in the summer and I told him my intentions for the season,” Xavi added.
“It was one of the most difficult moments in my coaching career having that conversation. He was my teammate and we have all been through this, when you reach a moment when you no longer feel useful. It’s hard to manage.