The Messenger of Allah ﷺ said, "No one should sail the sea except for one performing Hajj, one performing Umrah, or one going out to fight in the cause of Allah, for beneath the sea is fire, and beneath the fire is sea."
حدثنا سعيد بن منصور حدثنا إسمعيل بن زكريا عن مطرف عن بشر أبي عبد الله عن بشير بن مسلم
قال رسول الله ﷺ لا يركب البحر إلا حاج أو معتمر أو غاز في سبيل الله فإن تحت البحر نارا وتحت النار بحرا
No references are available.
[Its isnad is daif] Bayhaqi 4/334 narrated it from the hadith of Abu Dawud with this chain. * Bishr and Bashir are both unknown narrators.