Iranian President Hassan Rouhani on Sunday said Tehran would "firmly respond" if President Obama didn't stop an extension of sanctions passed by Congress, Reuters reported.

ADVERTISEMENT

"America's president is obliged to exercise his authority by preventing its approval and particularly its implementation ... and if this gross violation is carried out we will firmly respond," Rouhani said in a speech to parliament.

During the speech, the Iranian president criticized legislation that extends the Iran Sanctions Act for 10 years. Rouhani said the legislation was a violation of Tehran's nuclear deal with six major powers.

The legislation includes penalties against Iran's banking, defense and energy sectors.

The law was set to expire at the end of the year.

Obama is expected to sign the legislation, which the Senate easily passed, according to a White House official.

A White House official said the administration has determined the measure does not violate the Iran nuclear agreement.

Lawmakers have argued that the extension of sanctions is necessary in case Iran breaks its commitment under the pact. Under the deal, reached last year, Iran agreed to curtail its nuclear program in exchange for the United States and other countries lifting economic sanctions.