"When something was brought to him, the Messenger of Allah would ask: 'Is this charity or a gift?' If they said: 'Charity.' He would not eat it, and if they said, 'A gift' he would eat it."
Jami` at-Tirmidhi Book 7, Hadith 40