All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger.
In principle, whoever has a right and wants to give it up, and he is eligible to give his right up, then he may do so provided such a right is among the rights that can be given up. However, divorce is not among such rights. If a man says, “I have given up my right of divorce” and then he divorces his wife then his divorce is effective, because if a husband utters the words of divorce it becomes effective, unless there is some impediment such as insanity, compulsion and the like.
Allaah Knows best.