أَخْبَرَنَا زِيَادُ بْنُ أَيُّوبَ، قَالَ حَدَّثَنَا عَبْدُ الْوَاحِدِ بْنُ وَاصِلٍ، قَالَ حَدَّثَنَا بَهْزُ بْنُ حَكِيمٍ، عَنْ أَبِيهِ، عَنْ جَدِّهِ، قَالَ كَانَ النَّبِيُّ صلى الله عليه وسلم إِذَا أُتِيَ بِشَىْءٍ سَأَلَ عَنْهُ ‏"‏ أَهَدِيَّةٌ أَمْ صَدَقَةٌ ‏"‏ ‏.‏ فَإِنْ قِيلَ صَدَقَةٌ لَمْ يَأْكُلْ وَإِنْ قِيلَ هَدِيَّةٌ بَسَطَ يَدَهُ ‏.‏

Bahz bin Hakim narrated from his father that his grandfather said: "If something was brought to him, the prophet would ask whether it was a gift or charity. If it was said that if was charity, he would not eat, and if it was said that it was a gift, he would stretch forth his hand." Translation Not Available

Book Ref: Sunan An Nisai Book 23 Hadith 2613
Web Ref:  Sunan An Nisai Vol 3 Book 23 Hadith 2614