The former prime minister, 97, is returning home after treatment for COVID-19.
The office of former Malaysian Prime Minister Mahathir Mohamad said he has been discharged from hospital after contracting COVID-19.
The statement said on Sunday that Mahathir, who was admitted to the National Heart Institute on Wednesday after testing positive for the coronavirus, will remain in home quarantine until Tuesday.
The 97-year-old, who has been prime minister for more than 20 years and remains an active lawmaker, has a history of heart problems, and has had heart attacks and surgeries.
He has received at least three doses of the COVID vaccine, and the last known dose was in November 2021, according to previous comments from him and government officials.
The unborn, a trained physician, underwent an elective medical procedure in January and was readmitted to the hospital later that month for treatment.
The National Heart Institute did not say at the time which procedure he underwent.
After serving as prime minister for 22 years until 2003, Mahathir returned as prime minister at the age of 92 in 2018 after leading the opposition coalition to a historic victory, defeating the party he once led.
His government collapsed in less than two years due to infighting.