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)
عَنْ رَسُولِ اللَّهِ ﷺ أَنَّهُ ذَكَرَ رَجُلاً مِنْ بَنِي إِسْرَائِيلَ خَرَجَ فِي الْبَحْرِ فَقَضَى حَاجَتَهُ وَسَاقَ الْحَدِيثَ حَدَّثَنِي عَبْدُ اللَّهِ بْنُ صَالِحٍ قَالَ حَدَّثَنِي اللَّيْثُ بِهَذَا