Afghanistan has previously accused Iran of selling weapons to the Taliban , allegations Tehran denies .