It's essential to be smart when working out during the holy month.
Here's what you should know:
Exercising just before iftar (breaking of the fast) or between iftar and suhoor (pre-dawn meal) before the start of the following fast, are good times as you can eat and drink after exercise and replenish and rehydrate your body.
It's recommended to do limiting cardio to up to twice a week and, the advice is, to do it after iftar. It's also advised to keep workouts light in daylight hours, like going on a brisk walk and saving any higher intensity workouts until after you've broken your fast.
IS IT BENEFICIAL TO EXERCISE WHILE FASTING?
Yes, it is beneficial to workout while fasting because the key to weight loss and muscle gain is not just calories and exercise, but hormone optimization. Studies demonstrate amazing benefits to intermittent fasting alone, but combining fasting with training takes the benefits of each to a whole new level.
Also, recent clinical evidence bears out the fact that repeated fasting does not cause muscle loss.