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

Abu Hurairah (ra) said, "Messenger of Allah ﷺ mentioned a person from Bani Israel who travelled by sea and carried out his needs." Then he narrated the whole story. (See Hadith no. 2291)  

البخاري:٢٠٦٣وَقَالَ اللَّيْثُ حَدَّثَنِي جَعْفَرُ بْنُ رَبِيعَةَ عَنْ عَبْدِ الرَّحْمَنِ بْنِ هُرْمُزَ عَنْ أَبِي هُرَيْرَةَ ؓ

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