What is the ruling of taking multiple showers (or swimming) while fasting in order to rejuvenate a dehydrated body due to fasting in excessive heat while working?

Find answers

This does not invalidate the fast because Allah allowed taking showers while fasting. Care must be taken not to allow the water to enter through the mouth, nose, or eyes and into the throat.