Ibrahim (may Allah have mercy on him) said: If someone wrote the divorce of his wife with his own hand, it takes effect.