Barcelona have announced that Sergio Aguero will not play for three months after suffering chest pains against Alaves on Saturday.
The ex-Manchester City striker, 33, had cardiological tests in hospital after being taken ill.
Aguero will now receive treatment while his health is monitored.
The club said:external-link "During the next three months, the effectiveness of treatment will be evaluated in order to determine his recovery process."
Aguero received treatment for several minutes on the pitch before being taken to hospital.
In an Instagram 'story', Aguero said he was "fine" and "very excited to face the recovery process".
The former Manchester City striker was making just his second start for Barcelona after sustaining an injury in pre-season.
He joined the Spanish giants on a two-year deal in the summer after a 10-year spell at City, during which he became the club's all-time leading scorer with 260 goals in 390 games.