Riyad as-Salihin, Book 1, Hadith 537 (In-Book)

Abu Hurairah (May Allah be pleased with him) reported: Messenger of Allah said, "A needy person is not the one who goes from door to door, begging and is turned away with a morsel or two or with a date or two. But a needy person is the one who does not have enough to live upon, and neither from his appearance it occurs that he is needy and should be given alms, nor does he himself beg anything from others."[Al-Bukhari and Muslim].

وعن أبي هريرة رضي الله عنه أن رسول الله صلى الله عليه وسلم قال‏:‏ ‏ "‏ليس المسكين الذي يطوف على الناس ترده اللقمة واللقمتان، والتمرة والتمرتان، ولكن المسكين الذي لا يجد غنى يغنيه، ولا يفطن له، فيتصدق عليه، ولا يقوم فيسأل الناس‏" ‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏

sunnah.com