Sri Lanka today expressed concern over the political turmoil in Maldives, saying it hoped differences among all stakeholders will be resolved peacefully.

Without making any direct reference to former Maldivian President Nasheed's arrest, the foreign ministry said Sri Lanka, as a friendly neighbouring country was concerned about the recent developments in Maldives.

"It is hoped that all stakeholders in Maldives will resolve their differences in a peaceful manner, within the legal provisions in Maldives," it said.

Nasheed has enjoyed personal relations with many Sri Lankan leaders. He spent time living in Colombo during the formative years of his Maldivian Democratic Party (MDP).

The 47-year-old leader was arrested under anti-terrorism laws for allegedly ordering the arrest of a senior judge in 2012 that triggered violence in the Indian Ocean island.

He was virtually dragged by the security forces as he was presented on Monday before the criminal court, which ruled that the Opposition leader will remain in custody until the case against him was complete.

India has said it was concerned over recent developments in the Maldives, including the "arrest and manhandling" of Nasheed, and asked all involved to resolve their differences within the country's constitutional and legal framework.