Two bombs struck the empty residence of the Iranian ambassador in the Libyan capital on Sunday, security officials said, but nobody was hurt.
The attack was the latest to target a diplomatic mission in Tripoli, where most embassies have been shut since summer 2014 as militias battled for control of the city.
ISIS fighters assumed responsibility for the suicide attacks in eastern Libya on Friday, according to social media.
Approximately 40 people lost their lives and another 70 were wounded after cars exploded.
ISIS killed and wounded all these tens of people as an answer to the attack against jihadists in Derna.
At least 25 people were killed and 30 wounded Feb. 20 in a triple bombing in an eastern Libyan town near the jihadist stronghold of Derna, medical and security sources said.
The simultaneous attacks targeted police headquarters in Al-Qoba, as well as the home of the speaker of Libya's internationally recognised parliament and a petrol station, the sources said.