كتاب الزكاة
12  
The Book of Zakat
(42)
Chapter: The virtue of refraining from asking and being patient and content
(42)
باب فَضْلِ التَّعَفُّفِ وَالصَّبْرِ ‏
Sahih Muslim 1053 a

Abu Sa'id al-Khudri reported that some people from among the Ansar begged from the Messenger of Allah (ﷺ) and he gave them. They again begged him and he again gave them, till when what was in his possession was exhausted he said:

Whatever good (riches, goods) I have, I will not withhold it from you. He who refrains from begging Allah safeguards him against want. and he who seeks sufficiency, Allah would keep him in a state of sufficiency, and he who shows endurance. Allah would grant him power to endure, and none is blessed with an endowment better and greater than endurance.
حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، عَنْ مَالِكِ بْنِ أَنَسٍ، فِيمَا قُرِئَ عَلَيْهِ عَنِ ابْنِ شِهَابٍ، عَنْ عَطَاءِ بْنِ يَزِيدَ اللَّيْثِيِّ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ، أَنَّ نَاسًا، مِنَ الأَنْصَارِ سَأَلُوا رَسُولَ اللَّهِ صلى الله عليه وسلم فَأَعْطَاهُمْ ثُمَّ سَأَلُوهُ فَأَعْطَاهُمْ حَتَّى إِذَا نَفِدَ مَا عِنْدَهُ قَالَ ‏ "‏ مَا يَكُنْ عِنْدِي مِنْ خَيْرٍ فَلَنْ أَدَّخِرَهُ عَنْكُمْ وَمَنْ يَسْتَعْفِفْ يُعِفَّهُ اللَّهُ وَمَنْ يَسْتَغْنِ يُغْنِهِ اللَّهُ وَمَنْ يَصْبِرْ يُصَبِّرْهُ اللَّهُ وَمَا أُعْطِيَ أَحَدٌ مِنْ عَطَاءٍ خَيْرٌ وَأَوْسَعُ مِنَ الصَّبْرِ ‏"‏ ‏.‏
Reference : Sahih Muslim 1053a
In-book reference : Book 12, Hadith 161
USC-MSA web (English) reference : Book 5, Hadith 2291
  (deprecated numbering scheme)