It is narrated from a Companion (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: Whoever sleeps on the roof of a house that has no parapet, and he falls from it and dies, then no one is responsible for him. And whoever sets out on a sea journey at a time when the sea is turbulent and dies, then no one is responsible for him either.
Hadith Referenceمسند احمد / مسند الأنصار رضي الله عنهم / 22333
Hadith Gradingحکم دارالسلام:إسناده ضعيف لجهالة زهير بن عبدالله، ولاضطراب فى إسناده