Umar bin Khattab reported,

I gave a horse as a contribution in the cause of Allah, then I saw it being sold. I asked the Prophet ﷺ whether I could buy it.He said, "Do not buy it, and do not take back what you have given in charity."

Bukhari 2970

Sahih

حدثنا الحميدي حدثنا سفيان قال سمعت مالك بن أنس سأل زيد بن أسلم فقال زيد سمعت أبي يقول قال

عمر بن الخطاب رضي الله عنه

حملت على فرس في سبيل الله فرأيته يباع فسألت النبي ﷺ آشتريه فقال لا تشتره ولا تعد في صدقتك

البخاري 2970صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Jihad and expeditions
Chapter
Rewards for substitutes and mounts in the cause of Allah
Numbering
Darussalam 2970
Bukhari 2970