Hakim bin Hizam (RAA) narrated that The Messenger of Allah (ﷺ) said:
"The upper hand is better than the lower hand (i.e. he who gives in charity is better than he who takes it). One should begin by giving to his dependents. And the best Sadaqah (charity) is that, which is given by a wealthy person (from the money which is left over after his expenses). And whoever abstains from asking others for some financial help, Allah will provide for him and save him from asking others; Allah will make him self-sufficient." Agreed upon and this version is of al-Bukhari.
English reference: Book 4, Hadith 655
Arabic reference: Book 4, Hadith 634