Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad-zuhd:382ʿAbdullāh > Bī > Abū Muʿāwiyah > Hishām b. ʿUrwah from his father

[Machine] "David, ﷺ , used to make baskets out of reeds while he was on the pulpit, then he would send them to the market and sell them, then he would eat the price (earnings)."  

الزهد لأحمد:٣٨٢حَدَّثَنَا عَبْدُ اللَّهِ حَدَّثَنِي أبِي حَدَّثَنَا أَبُو مُعَاوِيَةَ حَدَّثَنَا هِشَامُ بْنُ عُرْوَةَ عَنْ أَبِيهِ قَالَ

«كَانَ دَاوُدُ عَلَيْهِ السَّلَامُ يَصْنَعُ الْقُفَّةَ مِنَ الْخُوصِ وَهُوَ عَلَى الْمِنْبَرِ ثُمَّ يَبْعَثُ بِهَا إِلَى السُّوقِ فَيَبِيعُهَا ثُمَّ يَأْكُلُ ثَمَنَهَا»