President Hassan Rouhani left Tehran for Hanoi early Wednesday on a two-day official visit to Vietnam.