I went Internet searching and found one person who posted curing prolapsed intestines multiple times by isolating the fish, cutting feeding, and leaving them in the dark to rest.
I am not an expert on these types of problems!
Are there any red strings there - trying to rule out a worm.