Hasan (may Allah have mercy on him) said: "They did not consider a divorce given in shirk to have any validity."