Barcelona are holding a special institutional farewell for the Argentine on Wednesday, which will be attended by the club president Josep Maria Bartomeu and the first team squad.
Mascherano has only made seven appearances in La Liga this season with the Barcelona manager preferring Gerard Pique and Samuel Umtiti as a centre-back partnership.
He won 17 titles at Barcelona, including two Champions League trophies, and played a crucial role in Barcelona's period of dominance.
Donald Trump signs bill reopening government as immigration fight looms
The bill, like the one Democrats blocked on Friday, reauthorizes the Children's Health Insurance Program for the next six years. The U.S. government can not fully operate without funding bills that are voted in Congress regularly.
He will then say goodbye to the club's supporters on the Camp Nou pitch before Thursday's Copa del Rey quarterfinal second leg against Espanyol.
Mascherano left Liverpool in August 2010 for Barça, having played a huge role in Rafa Benítez's Liverpool side of the late 00s alongside Xabi Alonso in defensive midfield.
"There was something of an in-joke at the club about the fact that "Masche", as his team-mates affectionately know him, had never scored a goal for the team, although attacking duties were never part of his game, so it should come as little surprise".
With his minutes reduced and a World Cup on the horizon, Mascherano decided earlier this season that he wanted to leave the club in January to re-find regular football.