The Prophet ﷺ would pass by a date and the only thing that kept him from picking it up was the fear that it might be from the charity.
حدثنا عفان حدثنا حماد بن سلمة أخبرنا قتادة
أن النبي ﷺ كان يمر بالتمرة فما يمنعه من أخذها إلا مخافة أن تكون من صدقة
Its chain of transmission is sahih. It was mentioned above as a marfu narration in 12129.