Sahih al-Bukhari, Book 34, Hadith 16 (Bukhari 1988)

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. 2291)