The Messenger of Allah ﷺ said, "The one who takes back his gift is like the one who returns to his vomit."
حدثنا بهز حدثنا شعبة أخبرني قتادة قال سمعت سعيد بن المسيب يحدث أنه سمع
قال رسول الله ﷺ العائد في هبته كالعائد في قيئه
Its isnad is sahih, and it is an abridgment of 1872, see also 2119, 2120, 2251.