Taliban spokesman Zabihullah Mujahid said in his Twitter account that the US military had killed security guards during a raid on one of the prisons in Badghis province (northwestern Afghanistan) and took away 40 Daesh fighters imprisoned there in an unknown direction.

The Russian Foreign Ministry also reported that American special forces could have been involved in the prison raid in order to prevent information leaks about terrorist sponsors.

At the same time, Bakhtar News Agency, the official state news agency of the Afghan government, posted information that "36 members of the IS [Daesh in Arabic] were liberated by the Afghan national army."

Commenting on the reports, Abdullah Afzali, deputy head of Badghis provincial council, told Sputnik that the militants had been released by some foreign military.

"Three days ago, foreign military surrounded the Panjboz area, where the IS [Daesh in Arabic] militants were captured by the Taliban five months ago in Faryab province. Foreign military forces killed about 20-30 Taliban members guarding the detention facility. They freed 38 militants, who were taken away in an unknown direction," the official said.

READ MORE: US Wants to Accuse Russia of Helping Daesh — Moscow

Afzali also noted that the local population was aware of the whereabouts of Daesh prisoners.

"The locals saw IS [Daesh in Arabic] militants from close range. Most of them are foreigners from Russia, China, Uzbekistan, Tajikistan and other countries. There were women among them. All of the residents knew about it," he stated.

According to the politician, the operation was carried out during the hours of darkness with the support of ground and air cover.

*Daesh (also known as ISIS/ISIL/IS) is a terrorist organization banned in Russia