Ex-Malaysian Prime Minister Najib Razak has been banned from leaving the country, immigration officials say.
This comes after Mr. Najib said that he and his wife were planning to go on an overseas holiday on Saturday.
Earlier this week, Mr. Najib’s long-ruling Barisan Nasional coalition suffered a shock electoral defeat.
Mr. Najib has been accused of diverting $700m (£517m) from a state investment fund in 2015, but has since been cleared by the authorities.
On Thursday, Mahathir Mohamad was sworn in as Malaysia’s new prime minister, becoming the world’s oldest elected leader at 92.
He has said there will be a thorough investigation into cases of alleged corruption including the one involving the state investment fund.
Dr. Mahathir came out of retirement and defected to the opposition to take on and beat former protege Najib Razak.
In a tweet (in Malay), he said he had been informed by the immigration authorities that he and his family would not be allowed to travel abroad.
He gave no reasons for the authorities’ decision, but said he would abide by it.
He has also announced he is quitting as chairman of the Barisan Nasional coalition and as president of his United Malay National Organisation party.
Mr. Najib, 64, had said earlier that he and his wife Rosmah Mansor would go on a holiday on Saturday.
It is believed they intended to fly to Jakarta, the capital of Indonesia.
Mr. Najib had faced accusations of corruption and mismanagement over the state investment fund 1Malaysia Development Berhad (1MDB).
The scandal has gripped the country for years.
1MDB, set up by Mr. Najib in 2009, was meant to turn Kuala Lumpur into a financial hub and boost the economy through strategic investments.
But it started to attract negative attention in early 2015 after it missed payments for some of the $11bn it owed to banks and bondholders.
Then the Wall Street Journal (WSJ) reported it had seen a paper trail that allegedly traced close to $700m from the fund to Mr Najib’s personal bank accounts.
Mr. Najib has consistently denied taking money from 1MDB or any public funds.
After being sworn in as new prime minister, Dr. Mahathir said he would seek the return of millions of dollars lost in the scandal.