Sunan Ibn Majah, Volume 3, Book 15, Hadith 2392 (DarusSalam) ⓘ
It was narrated from 'Umar, meaning, from his father, his grandfather 'Umar, that : he gave a horse in charity at the time of the Messenger of Allah, then he saw its owner selling it for a low price. He went to the Prophet and asked him about that, and he said: “Do not buy what you gave in charity.”
حَدَّثَنَا تَمِيمُ بْنُ الْمُنْتَصِرِ الْوَاسِطِيُّ، حَدَّثَنَا إِسْحَاقُ بْنُ يُوسُفَ، عَنْ شَرِيكٍ، عَنْ هِشَامِ بْنِ عُرْوَةَ، عَنْ عُمَرَ بْنِ عَبْدِ اللَّهِ بْنِ عُمَرَ يَعْنِي، عَنْ أَبِيهِ، عَنْ جَدِّهِ، عُمَرَ أَنَّهُ تَصَدَّقَ بِفَرَسٍ عَلَى عَهْدِ رَسُولِ اللَّهِ صلى الله عليه وسلم فَأَبْصَرَ صَاحِبَهَا يَبِيعُهَا بِكَسْرٍ فَأَتَى النَّبِيَّ صلى الله عليه وسلم فَسَأَلَهُ عَنْ ذَلِكَ فَقَالَ " لاَ تَبْتَعْ صَدَقَتَكَ " .
also referenced under: Hadith 2392 (Reference) & Book 15, Hadith 2482 (In-Book)