It is permissible (caiz) to bathe, take a shower, or enter a pool or the sea while fasting, and doing so does not invalidate the fast.
However, one must be careful not to let water enter the mouth or nose. If water reaches the throat and is swallowed, even unintentionally, it breaks the fast and requires making up (qaḍāʾ) that day’s fast.
