The Prophet ﷺ said: What the sea throws up and is left by the tide you may eat, but what dies in the sea and floats you must not eat. Abu Dawud said: This tradition has been transmitted by Sufyan al-Thawri, Ayyub and Hammad from Abu al-Zubair as the statement of Jabor himself (and not from the Prophet). It has been also transmitted direct from the Prophet ﷺ through a weak chain by Abu Dhi'b, from Abu al-Zubair on the authority if Jabir from the Prophet ﷺ.
قَالَ رَسُولُ اللَّهِ ﷺ مَا أَلْقَى الْبَحْرُ أَوْ جَزَرَ عَنْهُ فَكُلُوهُ وَمَا مَاتَ فِيهِ وَطَفَا فَلاَ تَأْكُلُوهُ