Two days after President Obama approved a new rule to crack down on gunrunning to Mexico, a House committee voted Wednesday to block it from taking effect.

The House Appropriations Committee voted 25 to 16 to insert a rider into the Justice Department’s spending bill, prohibiting the Bureau of Alcohol, Tobacco, Firearms and Explosives from implementing the regulation.

The rule required 8,500 gun dealers along the U.S.-Mexico border to report, within five days of sale, multiple purchases of semiautomatic rifles that are larger than .22-caliber and use detachable magazines. The National Rifle Association opposed the reporting requirement.

The amendment was sponsored by Rep. Denny Rehberg (R-Mont.) The spending bill goes to the House, which previously had voted to ban the rule, although that vote never became law.

— James V. Grimaldi