Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:5:96

Lawful to you is game from the sea and its food as provision for you and the travelers, but forbidden to you is game from the land as long as you are in the state of ihram. And fear Allah to whom you will be gathered.  

Permitted to you, O people, be you in pilgrimage inviolability or not, is the game of the sea, for consumption, and it is what can only live in the sea, such as fish, but not what is able to live both in the sea and on land, such as crabs; and food from it, what it casts out that is dead, is a provision for you, for you to consume, and for the wayfarers, the travellers among you, to take as their provisions; but forbidden to you is the hunting of game on the land, and this consists of those edible beasts that live on it; do not hunt them, so long as you remain in pilgrimage inviolability: if it is caught by one not in pilgrimage inviolability, then it is permissible for a person in pilgrimage inviolability to consume it, as is clarified in the Sunna; and fear God, to whom you shall be gathered.
القرآن:٥:٩٦

أُحِلَّ لَكُمْ صَيْدُ الْبَحْرِ وَطَعَامُهُ مَتَاعًا لَكُمْ وَلِلسَّيَّارَةِ ۖ وَحُرِّمَ عَلَيْكُمْ صَيْدُ الْبَرِّ مَا دُمْتُمْ حُرُمًا ۗ وَاتَّقُوا اللَّهَ الَّذِي إِلَيْهِ تُحْشَرُونَ  

{أُحل لكم} أيها الناس حلالا كنتم أو محرمين {صيد البحر} أن تأكلوه وهو ما لا يعيش إلا فيه كالسمك بخلاف ما يعيش فيه وفي البر كالسرطان {وطعامُه} ما يقذفه ميتا {متاعا} تمتيعا {لكم} تأكلونه {وللسيَّارة} المسافرين منكم يتزودونه {وحرِّم عليكم صيد البر} وهو ما يعيش فيه من الوحش المأكول أن تصيدوه {ما دمتم حرما} فلو صاده حَلاَل فللمحرم أكله كما بينته السنة {واتقوا الله الذي إليه تحشرون}.