The United Nations has threatened to cut assistance to Afghanistan if its staff are harassed.
A tweet by the official UN Assistance Mission in Afghanistan on September 13 said: "Intimidation and verbal attacks directed at #UN are unacceptable."
The warning comes a day after demonstrators gathered outside the UN's Kabul headquarters and accused it of aiding vote-rigging. The rally featured chants of "Death to the UN."
The UN has been monitoring a vote-rigging investigation since both presidential candidates, Abdullah Abdullah and Ashraf Ghani, claimed victory and accused the other of fraud in early July.
Talks between both sides on forming a unity government have broken down.
Afghan election officials have said the final election results would be released over the next week.
Based on reporting by Reuters and pajhwok.com