Malappuram: Twenty-three people were injured when a captive elephant ran amok during a religious ceremony at a mosque near Tirur on Wednesday. Of the injured, one person is in critical condition after being picked up and tossed by the elephant, police said.