In a message to Iran's supreme leader Ayatollah Ali Khamenei, Assad congratulated Tehran on a deal he said would be a "major turning point in the history of Iran, the region and the world".