No, it was prescribed by his doctor.
Which brings up another point: some pharmacies are refusing to fill it, even when prescribed by a doctor. If you want to place the blame for people getting "horse dewormer", such pharmacies deserve part of the blame.