The World Federation One Stop Fiqh

Ruling 1983

If before zakat becomes obligatory on a person he gives something to the poor as zakat, he cannot count it as zakat. However, if afterwards when zakat becomes obligatory on him the thing that he gave to the poor has not perished and the poor person has remained poor, he can count the thing that he gave him as zakat.