Getting a quickie divorce has taken on a whole new meaning in Malaysia after it was decided that a man can divorce his wife with a text message.

The government's adviser on religious affairs, the man who counsels Malaysia's Prime Minister Mahathir Mohamad, said as long as the message was clear and unambiguous it was valid under Islamic Sharia law.

"SMS is just another form of writing," Dr Abdul Hamid Othman was quoted by the New Straits Times daily newspaper as saying.

The decision follows a Malaysian court's ruling on Thursday in favour of a man who served divorce on his wife via a text message.

Sharia judge Mohamad Fauzi Ismail declared that the divorce declaration was valid and that as such the marriage between the plaintiff Azida Fazlina Abdul Latif and defendant Shamsudin Latif was annulled, the Utusan Malaysia newspaper reported.

Mr Shamsudin was said to have sent Ms Azida a text message saying: "If you do not leave your parents' house, you'll be divorced".

Although such a notification of divorce may seem astonishingly brief to some, under Islamic law men are allowed to divorce their wives simply be saying the word 'talaq' - I divorce you - three times.