Sunan an Nasai 3700
The Book of Gifts
أَخْبَرَنَا مُحَمَّدُ بْنُ حَاتِمِ بْنِ نُعَيْمٍ، قَالَ حَدَّثَنَا حِبَّانُ، قَالَ أَنْبَأَنَا عَبْدُ اللَّهِ، عَنْ خَالِدٍ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " لَيْسَ لَنَا مَثَلُ السَّوْءِ الرَّاجِعُ فِي هِبَتِهِ كَالْكَلْبِ فِي قَيْئِهِ " .
It was narrated that Ibn 'Abbas said:"The Messenger of Allah said: 'It does not befit us to leave bad examples. The one who takes back his gift is like a dog with its vomit
Grading: Abu Ghuddah: Sahih · Al-Albani: Sahih · Zubair Ali Zai: Isnaad Sahih
Text from the public-domain hadith-api dataset. Numbering follows that dataset and can differ by a few from some printed editions — check the wording, not only the number.