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.
bukhari:1498al-Layth > Jaʿfar b. Rabīʿah > ʿAbd al-Raḥman b. Hurmuz > Abū Hurayrah

Narrated Abu Huraira The Prophet ﷺ said, "A man from Bani Israel asked someone from Bani Israel to give him a loan of one thousand Dinars and the later gave it to him. The debtor went on a voyage (when the time for the payment of the debt became due) but he did not find a boat, so he took a piece of wood and bored it and put 1000 diners in it and threw it into the sea. The creditor went out and took the piece of wood to his family to be used as fire-wood." (See Hadith No. 488 B, Vol. 3). And the Prophet ﷺ narrated the narration (and said), "When he sawed the wood, he found his money."  

البخاري:١٤٩٨وَقَالَ اللَّيْثُ حَدَّثَنِي جَعْفَرُ بْنُ رَبِيعَةَ عَنْ عَبْدِ الرَّحْمَنِ بْنِ هُرْمُزَ عَنْ أَبِي هُرَيْرَةَ ؓ

عَنِ النَّبِيِّ ﷺ أَنَّ رَجُلاً مِنْ بَنِي إِسْرَائِيلَ سَأَلَ بَعْضَ بَنِي إِسْرَائِيلَ بِأَنْ يُسْلِفَهُ أَلْفَ دِينَارٍ فَدَفَعَهَا إِلَيْهِ فَخَرَجَ فِي الْبَحْرِ فَلَمْ يَجِدْ مَرْكَبًا فَأَخَذَ خَشَبَةً فَنَقَرَهَا فَأَدْخَلَ فِيهَا أَلْفَ دِينَارٍ فَرَمَى بِهَا فِي الْبَحْرِ فَخَرَجَ الرَّجُلُ الَّذِي كَانَ أَسْلَفَهُ فَإِذَا بِالْخَشَبَةِ فَأَخَذَهَا لأَهْلِهِ حَطَبًا فَذَكَرَ الْحَدِيثَ فَلَمَّا نَشَرَهَا وَجَدَ الْمَالَ