Al-Kāfi - Volume 3 > People Who Die in Ships and Cannot Be Brought Ashore or Are Naked
Hadith #2

2ـ حُمَيْدُ بْنُ زِيَادٍ عَنِ الْحَسَنِ بْنِ مُحَمَّدٍ عَنْ غَيْرِ وَاحِدٍ عَنْ أَبَانٍ عَنْ رَجُلٍ عَنْ أَبِي عَبْدِ الله (عَلَيْهِ الْسَّلام) أَنَّهُ قَالَ فِي الرَّجُلِ يَمُوتُ مَعَ الْقَوْمِ فِي الْبَحْرِ فَقَالَ يُغَسَّلُ وَيُكَفَّنُ وَيُصَلَّى عَلَيْهِ وَيُثْقَلُ وَيُرْمَى بِهِ فِي الْبَحْرِ.

2. Humayd ibn Ziyad has narrated from al-Hassan ibn Muhammad from more than one person from Aban from a man who has said the following: “Abu ‘Abd Allah, ‘Alayhi al-Salam, was asked about one who dies in the company of people in the ocean. He (the Imam) said, ‘Ghusl (bath), shroud and Salah (prayer) are done for him and with some weight tied to him is thrown in the ocean.’”