Sahih al-Bukhari #2971
Fighting for the Cause of Allah (Jihaad) 56:180
Narrated `Abdullah bin `Umar:
`Umar gave a horse to be used in Allah's Cause, but later on he found it being sold. So, he intended to buy it and asked Allah's Messenger (ﷺ) who said, "Don't buy it and don't take back your gift of charity."