"Security services thwarted a terrorist plan at the last minute which was going to be carried out by an Iraqi on behalf of Iran's Quds Force," the source told AFP, without providing further details.
The suspect, whose name was not given, was arrested in possession of 45 kilos of explosives in the northern town of Jerash.
The source did not say when he was detained.
He was due to appear before the state security court later Monday, accused of "possessing explosive material and planning terrorist acts", the judicial source said.
More From This Section
Tehran is a key backer of Syrian President Bashar al-Assad, who has accused Jordan of aiding rebel groups fighting his forces in Syria.
Jordan is hosting a US-run programme to train Syrian rebels to fight against the Islamic State group and has said it is training some tribal groups in Syria.
There are fears that the normally peaceful kingdom could become embroiled in the conflicts raging in neighbouring Iraq and Syria.
The last major attack on Jordanian soil was in 2005 when suicide bombers blasted three hotels in Amman, killing and wounding dozens of people.