In a statement, the ministry condemned the attack and called it an “unforgettable crime”.
The Iranian Foreign Ministry added that the international community's widespread condemnation of that crime and the solidarity of the Afghan people made Iran display self-restraint.
In 1998, when the Taliban entered Mazar-e-Sharif city in northern Balkh province, armed men attacked the Iranian consulate and killed eight Iranian diplomats and one journalist.
At that time, the Taliban had denied involvement in the attack.
Meanwhile, Iran's Foreign Ministry stressed that it stands by the people of Afghanistan and supports any solution that leads to permanent peace and stability in the country.
Iran, however, has emphasized on the formation of an inclusive government with the representation of all ethnic groups of Afghanistan.