On the charger
No, charging the phone doesn’t harm your health (except for electromagnetic radiation if you are close). But it’s better not to leave your cell phone charging overnight. This can shorten the life of the phone’s battery and reduce the battery’s efficiency.