Hazrat Aamir Sha’bi (may Allah have mercy on him) said: When someone utters the word of divorce and intends something by it, then his intention will be taken into account.