Also Osama is a sunni muslim and iranians are shia muslims and sunni fundamentalists hate shias because they are heretics.
From the world.time.com
Iran helps to Armenia, which is not only occupied territories of Azerbaijan, but also committed ethnic cleansing and massacres over azerbaijanis, who are mostly not only muslim, but also shia.