This question already has an answer here:
Newton's Law of cooling states that the rate of loss of heat in proportional to the temperature difference. or $-dQ/dt = k(T' - T)$
Q → heat transferred, t → time, k → constant, T' - T → temperature difference.
Anyone not knowing about Mpemba effect here's a link