Malaysia, which imports about 38% of its rice needs, is among countries feeling the impact of export restrictions imposed by top rice producers like India, leading to panic-buying by consumers and higher prices.

"If anyone dares to take advantage when people are struggling to find rice... you hoard, we will find you, sue you, and take you to court," Anwar said at a rally late on Monday.

The agricultural and food security ministry has been instructed to step up enforcement and monitoring to curb hoarding, he said.

The price of imported white rice in Malaysia has increased by over 30% in the past month, prompting higher demand for local rice, prices of which are capped by the government.

Malaysia on Monday announced measures to try to cool rice prices, including a subsidy of 950 ringgit ($201.10) per ton for imported white rice in Sabah and Sarawak states from Oct. 5.

All government contracts for rice procurement will also involve purchasing imported white rice instead of the local variety, as a means of ensuring sufficient supply of the local grain in the market.

Anwar said nearly 400 million ringgit in subsidies would be channeled for government facilities, such as military camps, police and school dormitories, for buying imported rice, which could allow local rice supply to increase by about 5%.

($1 = 4.7240 ringgit)

(Reporting by Danial Azhar; Editing by Martin Petty)