Sahih al-Bukhari 1470
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
وَالَّذِي نَفْسِي بِيَدِهِ لأَنْ يَأْخُذَ أَحَدُكُمْ حَبْلَهُ فَيَحْتَطِبَ عَلَى ظَهْرِهِ خَيْرٌ لَهُ مِنْ أَنْ يَأْتِيَ رَجُلاً، فَيَسْأَلَهُ، أَعْطَاهُ أَوْ مَنَعَهُ "
Narrated Abu Huraira:
Allah's Messenger (ﷺ) said, "By Him in Whose Hand my life is, it is better for anyone of you to take a rope and cut the wood (from the forest) and carry it over his back and sell it (as a means of earning his living) rather than to ask a person for something and that person may give him or not."
Full reference and source
Sahih al-Bukhari 1470 In-book : Book 24, Hadith 73 USC-MSA web (English) : Vol. 2, Book 24, Hadith 549 (deprecated)
View source on Sunnah.com (opens in a new tab)