When we add heat to a system, that heat can do only 1 of 2 things. It can change the temperature or it can change the phase.
When we are doing a distillation, all the heat added to the system is busy turning the liquid into gas. So the temperature will stay constant at the boiling point of the substance, and a properly placed thermometer should read the same temperature.