Tehran said a deal with its arch foe the United States for unfreezing Iranian funds worth $6 billion then swapping five detainees each would go ahead on Monday after months of talks mediated by Qatar.

Iran's Foreign Ministry spokesperson Nasser Kanaani said the funds frozen in South Korea would be in Iran's possession on Monday, which would trigger the swap of five U.S. citizens detained in Iran for five Iranians held in the U.S.

Under the carefully choreographed deal, the five Americans with dual nationality are expected to leave Tehran and head to Qatar's capital Doha and then from there fly to the United States, sources previously told Reuters.