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