Yahya related to me from Malik from Nafi from Abdullah ibn Umar that Umar ibn al-Khattab gave a horse to carry some one in the way of Allah, and then he wished to buy it back. So he asked the Messenger of Allah ﷺ about it, and he said, "Do not buy or take back your sadaqa."
أَنَّ عُمَرَ بْنَ الْخَطَّابِ حَمَلَ عَلَى فَرَسٍ فِي سَبِيلِ اللَّهِ فَأَرَادَ أَنْ يَبْتَاعَهُ فَسَأَلَ عَنْ ذَلِكَ رَسُولَ اللَّهِ ﷺ فَقَالَ لاَ تَبْتَعْهُ وَلاَ تَعُدْ فِي صَدَقَتِكَ