Lionel Messi and Christiano Ronaldo each reportedly donated €1 million ($1.1 million) to help fight the spread of the coronavirus.
Clinic Barcelona confirmed that it had received a donation from the Argentine, which will go towards both treating infected patients and researching COVID-19.
"Thank you very much Leo, for your commitment and your support," the hospital said.
Spain has become one of the countries most affected by the novel coronavirus outbreak with more than 33,000 confirmed cased and 2,100 deaths, putting the healthcare system under immense strain.
La Liga has also been suspended indefinitely, with officials saying that it would only resume when the government confirms it is safe to do so.
Meanwhile, Ronaldo and his agent Jorge Mendes' sizeable donation will be divided between two hospitals in Lisbon and Porto.
The €1 million will fund two intensive care units for Lisbon's Hospital de Santa Maria as it grapples with the COVID-19 outbreak. Those two units can cater for up to 20 patients at one time and will be named after Ronaldo and Mendes, the hospital told CNN Sport.
"They were absolutely unselfish and supportive," said Santa Maria President Daniel Ferro in a statement. "They wanted to improve the conditions of their compatriots. Therefore, we reinforced the critical care area, which is the one where the biggest fight will be fought."
In Porto, the Santo Antonio hospital will have one ward equipped with 15 intensive care beds, ventilators and monitors, reported Reuters.
"We want to thank Ronaldo and Mendes for the initiative, which is so useful at the time the country needs everyone so much," Paulo Barbosa, president of Santo Antonio's administrative council, said in a statement.
Portugal has just over 2,000 confirmed cases of COVID-19 and 23 deaths.
Source: News Agencies.