Bangladesh has condemned the recent attacks on the Saudi embassy in Tehran and its consulate in Mashhad.