Assalaamu 'Alaikum Wa Rahmatullahi Wa Barakatuh
I have been told that should a man wish to talaaq his wife via text message, the wording has to follow a certain template or else it would not be seen as valid. Also i have heard that if the message says "you are divorced from me" it is not valid. Could you perhaps provide some clarification on this matter .
jazāk allāhu khayran
Divorce in writing is as effective and valid as it is in verbal pronunciation. There is no specific template for divorce in writing. In old days the writing would occur on paper but in modern days, this could be achieved by email, or text message as well. As long as the husband admits giving divorcing through text message or email and it is undisputably directed towards his wife then it will be effective.
And Allah knows best.
Mufti Ikram ul Haq
Fatwa Center of America