In the Pokemon anime, Ash's health is generally not a major focus. The show often centers on training, battling, and exploring, with less attention paid to illnesses or injuries.
It's possible Ash could have had a minor illness off-screen, but there's no documented episode where his fever is a significant plot point.