Since joining the club in the summer, the Argentine has not played for Barcelona and has only started two matches.
According to Guillem Balague, the man who joined Barcelona less than six months ago is set to announce his retirement on Wednesday.
Since moving to Spain, the 33-year-old has struggled with injuries and health problems, making only five appearances for the Catalan side.
He was taken to the hospital after he was taken out of the game.
He finishes his career with over 400 goals.
The worst trainer in the world went from Man City to an icon.
A legend of the league.
While his time at Barcelona has not gone to plan, there is no doubt that he is one of the best strikers of the 21st Century.
He scored 101 goals in 234 appearances after moving from Independiente in Argentina to win the Europa League with Atlet Madrid.
That record attracted the attention of Manchester City, who paid a reported £38m to bring him to their stadium. He went on to become a club and league legend in England.
In 395 games, he scored 260 goals, including 16 hat-tricks, and left City to join the Los Angeles Dodgers.
He is the most prolific overseas player in the history of the premier league with 184 goals, nine more than France's Henry.
Alan Shearer, Wayne Rooney and Andrew Cole have all scored more than 200 in the competition.
No-one has a better minutes-per-goal record than the Argentine. He scored a goal every 107.9 minutes. Henry is next on the list with one goal every 121.8 minutes.
The Argentine is responsible for the most famous moment in the history of the English top flight, scoring with virtually the last kick of the season to seal a victory over Queens Park Rangers that earned Manchester City a first top-flight title since 1968 and denied fierce rivals Manchester United by virtue of goal difference
He won five titles in England, one FA Cup and six League Cups.
It was a sad end with Barcelona.
After it became clear that he would be allowed to leave Manchester City, a move to Barcelona was an attractive one for him.
He had won over City bossPep Guardiola, who initially had concerns about the strikers ability to fit into his style of play, but injuries limited his playing time during his final season.
The switch to Barcelona went badly from the beginning. The club's financial problems made it difficult to register their new signings.
The same issues led to the departure of Messi.
He was out until October because of a calf injury.
He made his first start for the club three days after scoring a 90th-minute consolation in his only El Clasico appearance against Real Madrid.
He withdrew from the Alaves game on October 30th and then had a cardiac exam, which he said he would follow doctors' advice in making a decision about his playing future.
He said he would take 90 days to assess his progress, with reports suggesting he had been diagnosed with an irregular heartbeat.
His decision to be announced this week has come earlier than expected.
His final contribution for Argentina was a substitute appearance in the quarter-finals of the summer's Copa America, as La Albiceleste won the trophy for the first time in 28 years.