In his message, President Raisi described Azerbaijan as a brotherly neighbor.
The president further ordered a full investigation into the incident.
Raisi offered condolences to the family of the Azeri diplomat killed in the attack and also to the government and people of Azerbaijan.
He also wished swift recovery for those wounded.