Sahih al-Bukhari, Volume 9, Book 86, Hadith 105 (USC-MSA) ⓘ
Narrated Ibn `Abbas: The Prophet said, "The one who takes back his gift is like a dog swallowing its own vomit, and we (believers) should not act according to this bad example."
حَدَّثَنَا أَبُو نُعَيْمٍ، حَدَّثَنَا سُفْيَانُ، عَنْ أَيُّوبَ السَّخْتِيَانِيِّ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما ـ قَالَ قَالَ النَّبِيُّ صلى الله عليه وسلم " الْعَائِدُ فِي هِبَتِهِ كَالْكَلْبِ يَعُودُ فِي قَيْئِهِ، لَيْسَ لَنَا مَثَلُ السَّوْءِ " .
also referenced under: Book 90, Hadith 22 (In-Book) & Hadith 6975 (DarusSalam)