The Prophet ﷺ said, "The truly poor person is not the one turned away with a date or two, or a morsel or two. The truly poor is the one who refrains from begging. Recite if you wish, 'They do not beg from people persistently' [Baqarah 2:273]."
حدثنا سليمان بن داود أنبأنا إسماعيل يعني ابن جعفر قال أخبرني شريك يعني ابن أبي نمر عن عطاء بن يسار
أن النبي ﷺ قال ليس المسكين الذي ترده التمرة أو التمرتان أو اللقمة واللقمتان إن المسكين المتعفف اقرءوا إن شئتم {لا يسألون الناس إلحافا}
Its chain of transmission is sahih. It was mentioned previously at 7530. This Sharik was graded reliable by Ibn Saad and others, though some found fault with him. The hadith is found in Bukhari 2/153, Muslim in the Book of zakat 102, Abu Dawud 1631, and Nasai 5/85.