At least 22 people died when the attacker blew himself up in a Supreme Court car park in Kabul.
Daesh has claimed responsibility for a suicide bombing on Tuesday in the Afghan capital Kabul.
At least 22 people were killed and another 41 wounded when the attacker blew himself up outside the Supreme Court.
Daesh identified the bomber as Abu Bakr Altajiki. He detonated his suicide vest in the court's parking lot as employees were leaving work.
US national security adviser Michael Flynn called his Afghan counterpart, Mohammad Atmar, to "reaffirm our support to the Afghan government."
Separately, Daesh on Wednesday was accused of killing six Afghan Red Cross workers who were delivering aid to an avalanche-hit region in northern Jowzjan province.