Al-Zuhri (may Allah have mercy on him) said: If a man says to his wife, "You are not my wife," his intention is what counts.