The idea comes from religious dietary laws, specifically Jewish and Islamic traditions. It is not based on scientific or health grounds.
Jewish Dietary Laws (Kashrut)
Leviticus 11:9-12 states that only fish with fins and scales may be eaten; those without are unclean. Observant Jews follow this strictly.
Islamic Dietary Laws (Halal)
The Quran's guidelines on lawful and forbidden foods are interpreted by scholars to prohibit fish without scales. Observant Muslims follow this.
Important: These are religious beliefs, not scientific evidence. Many scaleless fish are safe and nutritious. Following these laws is a personal choice.