Sunan an-Nasa'i #2616
The Book of Zakah 23:182
It was narrated from 'Umar that:
he gave someone a horse to ride in the cause of Allah, then he saw it offered for sale and wanted to buy it. The Prophet said to him: "Do not think of buying back what you have given in charity."