Whenever something was brought to the Messenger of Allah ﷺ, he would ask whether it was charity or a gift. If they said it was charity, he would not eat from it, but if they said it was a gift, he would eat.
حدثنا محمد بن بشار حدثنا مكي بن إبراهيم ويوسف بن يعقوب الضبعي السدوسي قالا حدثنا
كان رسول الله ﷺ إذا أتي بشيء سأل أصدقة هي أم هدية فإن قالوا صدقة لم يأكل وإن قالوا هدية أكل
Sourcing. [Its isnad is hasan.] Nasai also narrated it in the chapter on zakat, "The chapter on charity not being permissible for the Prophet ﷺ," 107/5, no. 2614, from the hadith of Bahz bin Hakeem through this route. It has corroborating narrations in Bukhari, no. 2576, and elsewhere.On this subject there are also narrations from Salman [Ahmad, 437/5], Abu Hurairah [Bukhari, no. 2576, and Muslim, no. 1077], Anas [Bukhari, no. 2577, and Muslim, no. 1074], Hasan bin Ali [Ahmad, 1/200, and Ibn Khuzayma, no. 2347], Abu Umayrah Rashid bin Malik [Ahmad, 489/3, 490], Maymun bin Mihran [Ahmad, 34/4, and Abdul-Razzaq, 51/4, no. 6942], Ibn Abbas [Tabarani in al-Kabir, 379/11, no. 12059], Abdullah bin Amr [Ahmad, 183/2, 193], Abu Rafi [coming at 657], and Abdul-Rahman bin Alqama [Nasai, no. 3789].As for the hadith of Abdul-Rahman bin Abu Aqeel, he perhaps means the hadith found in Abu Naeem's Marifat al-Sahaba, 1843/4, no. 4649, and in Ibn Abu Asim's al-Ahad wal-Mathani, 239/3, no. 1600, though it contains no mention of charity. Imam Tirmidhi, may Allah have mercy on him, intends by this to point out the divergence in the isnad. And Allah knows best.