" مَثَلُ الَّذِي يَتَصَدَّقُ بِالصَّدَقَةِ ثُمَّ يَرْجِعُ فِيهَا كَمَثَلِ الْكَلْبِ قَاءَ ثُمَّ عَادَ فِي قَيْئِهِ فَأَكَلَهُ "
It was narrated from Ibn 'Abbas that the Prophet said: "The likeness of the one who gives a gift then takes it back, is that of a dog which vomits, then goes back to its vomit and eats it."