From Sahih Muslim (Hadith 2385):
Abdullah b. Umar reported that as Allah's Messenger (ﷺ) was sitting on the pulpit and talking about Sadaqa and abstention from begging, he said:The upper hand is better than the lower one, the upper being the one which bestows and the lower one which begs
Reference: Muslim 2385