Hazrat Umar (may Allah be pleased with him) says that if a person says to his wife, "You are forbidden to me," then this is considered as an oath.