The club will file action against Spanish newspaper El Mundo, who published the contract.
According to the newspaper Messi was paid an eye watering four-year deal worth $932 million.
The contracted period ends on the 30th June and Messi has been linked with a move to Manchester City and Paris St-Germain
Barcelona say they will take "appropriate legal action" against the Spanish newspaper El Mundo for publishing the details.