
Mubasher Muslimyar, an Islamic law professor, was killed in Kabul along with another person, said Ferdaws Faramarz, a police spokesman.
The identity of the second individual killed was not immediately known, but media reports said he was a professor too.
Kabul has seen a series of attacks with small magnetic bombs attached under vehicles and other targeted killings against members of security forces, judges, government officials, civil society activists and journalists in recent weeks.
No group claimed responsibility for the attack but government officials say Taliban insurgents are to be blamed and use such tactics to instil fear while avoiding large-scale civilian casualties.
The government announced last week that they had arrested a militant group behind making and deploying sticky bombs, but such attacks continue to occur.
Violence in parts of the country has increased recently as peace talks between the government and Taliban insurgents have largely stalled while US President Joe Biden’s administration reviews how to handle the peace process, including a troop withdrawal.
Afghan military officials said both local security forces and the Taliban are preparing for fresh fighting in the spring.