CARACAS, Venezuela—President Nicolás Maduro said he ordered the prosecution of doctors who had alerted the public to the recent deaths of nine people in a public hospital from an unidentified but possibly infectious disease.

"They wanted to impose a scheme of alarm, of psychological terrorism," Mr. Maduro said Wednesday in a speech broadcast on TV. "There is no other name for this, it's terrorism."

He...