The ousted President of Mali, Ibrahim Boubacar Keïta has reportedly suffered mini-stroke and was admitted at a private hospital.
AFP news agency reported that the leader of the military junta that ousted him visited him at the hospital where he was being treated.
A source told the AFP that the military leader Assimi Goïta and his delegation have said that Keita was free to seek further treatment abroad if need be.
Mr Keïta is however said to be recovering well from his illness and was released to go home on Thursday evening.
In 2016 Keita had a benign tumor removed from his neck in Paris, France.
He was released from detention last month to go home after he was detained for days by the military junta ruling the country.
The soldiers who toppled his government promised to release him but restrain him to his residence.
Keita was arrested during the military takeover and then forced to resign as president.
The ousted president was released following negotiations with Ecowas mediators and other international organisations, including the African Union and European Union.
The soldiers have failed to reach a deal with mediation teams from the regional bloc, Ecowas as they demand to stay in power for three years.
Ecowas has already suspended Mali over the coup and has demanded the immediate reinstatement of President Keita.