The Rambam wrote: Therefore, if they died on their own within the water they are permitted, and it is permitted to eat them alive. Thus far his words. For specifically regarding domestic animals, wild animals, and birds, where the Torah required that their life depart through shechitah, if it did not depart through shechitah but rather through death, it is nevelah; and similarly, if one ate from them while they were still alive, it is ever min hachai. However, regarding fish and grasshoppers, for which the Torah did not require that their life depart through shechitah, it follows that there is no nevelah here when they die, and there is no ever min hachai. Nevertheless, some say that although there is no ever min hachai in this, it is nonetheless forbidden to eat them alive because of "do not make yourselves detestable" [Tosafot Shabbat 90a and Chullin 66a, and the Mordechai in the glosses to the first chapter of Chullin]. And that which we learned in the Tosefta of Terumot [chapter 9], "A person may eat fish and grasshoppers whether alive or dead and need not be concerned," this is its explanation: whether he found them alive or whether he found them dead, but to eat them, he must wait until it dies. But the Rambam interprets according to the plain meaning of the language of the Tosefta. And that which is explained in the Gemara Shabbat there, that he violates "do not make yourselves detestable," it appears to me that this prohibition is not general, but rather applies to something that most people find repulsive, as is explained from his words at the end of the Laws of Forbidden Foods, and it is explained there in detail which things. But regarding something that fastidious people find repulsive, it is not forbidden to one who has a robust constitution, for we learned in the second chapter of Avodah Zarah regarding the stomach of a burnt-offering: a kohen who has a robust constitution may swallow it raw, see there. And so it is in this matter, for there in Shabbat it was a man of great stature, and regarding him "do not make yourselves detestable" applies, but not to others. Nevertheless, in practice, since many of our teachers forbid it, one should rule accordingly, as is written in the Shulchan Aruch. And whether this prohibition is from the Torah or is rabbinic will be explained, with the help of Heaven, in siman 116.
וכתב הרמב"ם לפיכך אם מתו מאליהן בתוך המים מותרים ומותר לאכלן חיים עכ"ל דדווקא בבהמות וחיות ועופות שהצריכה תורה דתיפוק חיותם בשחיטה אי לא נפקי בשחיטה אלא במיתה הוה נבילה וכן אם אכל מהם בעודם חיים הוה אבר מן החי אבל דגים וחגבים שלא הצריכתן תורה דתיפוק חיותן בשחיטה ממילא דאין כאן נבילה כשמתו ואין כאן אבר מן החי ומ"מ י"א דנהי דאין בזה אבר מן החי מ"מ אסור לאוכלן חיים משום בל תשקצו [תוס' שבת צ': וחולין ס"ו. והמרדכי בהגה' פא"ט] וזה ששנינו בתוספתא דתרומות [פ"ט] אוכל אדם דגים וחגבים בין חיין בין מתים ואינו חושש ה"פ בין שמצאן חיים ובין שמצאן מתים אבל לאכול צריך להמתין עד שתמות והרמב"ם מפרש כפשטא דלישנא דתוספתא וזה שמבואר בש"ס שבת שם שעובר משום בל תשקצו נ"ל דאיסור זה אינו כללי אלא בדבר שרוב בני אדם ממאסין בזה כמבואר מדבריו סוף הל' מאכלות אסורות ומבואר שם בפרטיות איזה דברים אבל בדבר שיש מפונקים שממאסין בזה אינו אסור למי שדעתו יפה שהרי שנינו בפ"ב דעכו"ם גבי קיבת העולה כהן שדעתו יפה שורפה חיה ע"ש וכן הוא בעניין זה דשם בשבת היה איש גדול המעלה ולגבי דידיה שייך בל תשקצו ולא לאחריני ומ"מ למעשה כיון דהרבה מרבותינו אוסרים יש להורות כן וכמ"ש בש"ע ואיסור זה אם הוא מן התורה או מדרבנן יתבאר בס"ד בסי' קט"ז: