Ubaydullah bin Adi reported,

Two men reported that they came to the Messenger of Allah ﷺ asking him for charity. He looked them over carefully and saw that they were strong and able-bodied, so the Messenger of Allah ﷺ said, "If you wish, I will give you something, but there is no share in this charity for a wealthy person, nor for one who is strong and capable of earning."

Azami 4244

Sahih

عن عبيد الله بن عدي بن الخيار

أن رجلين حدثاه أنهما أنيا رسول الله ﷺ يسألانه من الصدقة فقلب فيهما البصر، فرآهما جلدين فقال رسول الله ﷺ: إن شئتما أعطيتكما ولا حظ فيها لغني ولا لقوي مكتسب.

الأعظمي 4244صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Zakat
Chapter
Encouragement of self-restraint and contentment, and discouragement from begging and its prohibition for those undeserving of it
Section
Those for whom asking is not permissible
Numbering
Jami al-Kamil 4244 (2nd edition)
Azami 4244