The incident took place at the center of the district on Monday morning.
The provincial governor spokesman, Abdulhai Khatibi told Ariana News that the victims were a government employee, a teacher, and a farmer.
Meanwhile, sources accused the assailants of having links with the Hizb-e-Islami party, led by Gulbuddin Hekmatyar.
The attackers were freed from Afghan prisons months ago, the sources added.
The Taliban militant group and the Hizb-e-Islami party yet to make a comment in this regard.