Guus Hiddink has resigned as manager of Anzhi Makhachkala, sparking speculation he could be the next Barcelona boss.