WASHINGTON — A high-profile ruling by a federal trial judge last week blocking enforcement of a law authorizing the indefinite detention of terrorism suspects is on hold for now.

Late Monday, a federal appeals court judge in New York granted the Obama administration’s request for an “emergency” stay of the ruling, by Judge Katherine Forrest of United States District Court, who issued a permanent injunction against a provision of the National Defense Authorization Act of 2011 listing conduct that could result in detention without trial.

The Obama administration had urged the appeals court on Monday morning to block the injunction, saying that Judge Forrest’s ruling had gone beyond the new statute and jeopardized some of its existing authority to hold certain wartime prisoners under the 11-year-old Authorization for Use of Military Force against the perpetrators of the Sept. 11 attacks.

In a one-page order, Judge Raymond J. Lohier of the Court of Appeals for the Second Circuit granted the interim stay until a panel of judges hold a hearing on the matter, scheduled for Sept. 28. It is not yet clear which judges on the appeals court will be assigned to the panel.