An order of the court prohibiting (or compelling) the performance of a specific act to prevent irreparable damage or injury (https://www.justice.gov/usao/justice-101/glossary).
A preliminary injunction often is issued to allow fact-finding, so a judge can determine whether a permanent injunction is justified (http://www.uscourts.gov/glossary).