Hazrat Mujahid says that if a person in the state of Ihram has a toothache, then if he wishes, he may have it extracted.