Whenever a meal was brought to Messenger of Allah ﷺ, he would ask whether it was a gift or Sadaqa (something given in charity). If he was told that it was Sadaqa, he would tell his companions to eat it, but if it was a gift, he would hurry to share it with them. (Using translation from Bukhārī 2576)
أَنَّهُ قَالَ كَانَ رَسُولُ اللهِ ﷺ إِذَا أُتِيَ بِطَعَامٍ سَأَلَ عَنْهُ أَهُوَ هَدِيَّةٌ أَمْ صَدَقَةٌ فَإِنْ قِيلَ صَدَقَةٌ قَالَ لِأَصْحَابِهِ كُلُوا وَلَمْ يَأْكُلْ وَإِنْ قِيلَ هَدِيَّةٌ ضَرَبَ بِيَدِهِ وَأَكَلَ مَعَهُمْ