ISIS wives and widows in a Syrian jihadi camp have set up special courts and executed at least two people by stabbing them to death, officials claim.

In the sprawling al-Hol camp in the northeast of the war-torn country female ISIS members have turned one of their tents into a court administering the group's harsh interpretation of Islamic law.

They also wielded knives and pistols in clashes with guards as the troubled camp descends into chaos amid fears battle-hardened jihadis could be released from Kurdish prison camps following a Turkish invasion earlier this week.

Last month, the jihadi women found a 16-year-old girl guilty of apostasy and repeatedly knifed her to death as a punishment, before killing a one-legged man for the same alleged crime.

The camp, which is home to some 71,400 people, mostly wives, widows and children of ISIS fighters, saw women stone and stab their Kurdish guards in July.

British jihadi bride Shamima Begum previously lived in the camp and gave birth to a son, Jerah, who died just weeks after his birth.

Laundry drying on a chain link fence in an area for foreign families at al-Hol in Syria. Security conditions in the camp that is home to tens of thousands of wives and children of ISIS fighters has been bad for the past months and will likely get worse now Turkey is on the offensive

Women queue for aid supplies at al-Hol, home to IS-affiliated families near Hasakeh, Syria. As Turkish troops invade northern Syria and the US abandons its Kurdish allies, there are renewed fears of a prison break in the camp that could give new life to the extremist group

Security at the camp was notoriously lax even before Kurdish forces were withdrawn to battle a Turkish invasion, with riots common (pictured above a fire during a previous protest)

In the recent knifing incident, the women pulled knives from their all-enveloping black robes after the guilty verdict was announced and repeatedly stabbed the teenage girl.

Kurdish guards evacuated her to a clinic where she later died, according to Abdul-Qader al-Ofeidly, commander of the Kurdish police force known as Asayish, which guard the camps.

It was not clear what her nationality was, but al-Ofeidly said she was one of several people attacked or killed by fellow detainees.

A Syrian man with an amputated leg who moved about on crutches was also stabbed to death by female detainees after being accused of apostasy, the commander said.

In July a jihadi bride reportedly stabbed a guard and escaped after asking to leave the camp to do some shopping.

A brutal photo showed guard Izzadin Ahmed with a knife still lodged in his back being treated in a Hasaka hospital.

Al-Hol is home to some 71,400 people, mostly wives, widows and children of ISIS fighters.

In total, some 12,000 foreigners - 4,000 women and 8,000 children - are now living in such camps, according to Kurdish authorities.

They were swept up in the long and grueling military campaign that eventually dismantled the extremists' self-styled caliphate, which at its height in 2014 stretched across a third of Syria and Iraq.

Abdul-Karim Omar, who acts as foreign minister in northeastern Syria's Kurdish-led administration, says al-Hol is a 'ticking bomb'.

An internal security patrol member escorting women, reportedly wives of ISIS group fighters. Kurdish authorities say relatives of jihadists promote ISIS ideology and still pose a 'danger'

Al-Hol is home to some 71,400 people, mostly wives, widows and children of IS fighters. Pictured are women standing outside a small shop in the camp

The Syrian Democratic Forces (SDF) were a key US ally in that effort and lost more than 11,000 fighters in battles with the extremists.

Now, as Turkish troops invade northern Syria and the US abandons its Kurdish allies, there are renewed fears of a prison break in the camp that could give new life to the extremist group.

Most of the detainees at al-Hol are Syrian and Iraqi women and children. The stabbings took place in a highly-secured area known as the Annex that is home to some 10,000 hard-line IS supporters from other countries.

'Foreign women are trying to impose religious classes on all women in the camp,' al-Ofeidly said.

A brutal photo shows Izzadin Ahmed, a guard at the al-Hol camp, being treated in a Hasaka hospital after he was allegedly stabbed in the back by a woman, who has not been named

On October 1, police stormed a tent and rescued two women who had been sentenced to die and were about to be stabbed to death, he said, adding that IS supporters fought back with knives and pistols.

He said another raid in September uncovered hand grenades and the body of a woman who was killed by other detainees and has yet to be identified.

He said the foreign women are the main threat in the camp and echoed calls by Kurdish leaders for the detainees' home countries to take them back.

Azadeh Moaveni, an analyst for the Crisis Group, a Brussels-based think tank, visited the camp in late June.

She said hard-line detainees were trying to maintain the cruel strictures of the caliphate inside the camp, including by whipping women who were caught smoking and encouraging their own children to beat up the children of those deemed unbelievers.

'The foreigner annex of al-Hol has been steadily violent much of the year, partly because it seems to hold a small core of organized and extremely militant women who plot and prey upon others, but also because conditions inside are so deplorable and tense,' said Moaveni, who is also the author of a book about young women who traveled to the region to join ISIS.

The Kurdish-led Syrian Democratic Forces, who captured much of northeastern Syria from ISIS with close US military support, are mobilizing to stop the Turkish invasion and say they may not be able to spare enough forces to secure al-Hol.

The camp is home to tens of thousands of IS-linked women and their children, and other detention camps holding more than 10,000 male militants, including some 2,000 foreign fighters.

Robert Onus, the emergency manager in Syria for Doctors Without Borders, known by its French acronym MSF, said the October 1 shooting occurred after guards forcefully dispersed a protest over camp conditions held by women and children.

Women line up for aid supplies at al-Hol. The camp has been described as a 'ticking time bomb' as Turkish forces shell the area refugee camp are based in Kurdish-controlled Syria

Women speak to guards at the gate that closes off the section for foreign families who lived in the Islamic State's so-called caliphate, at al-Hol camp, Syria

He said MSF treated four women with gunshot wounds in the clinic it runs in the Annex, and that medics and patients took shelter from the gunfire.

'We are extremely worried about the well-being of the people held in the camp,' Onus said.

Islamic State leader Abu Bakr al-Baghdadi, who remains at large, called on his supporters last month to attack the camps and set the detainees free.

Turkey views the Kurdish fighters as terrorists because of their links to the Kurdish insurgency in its southeast.

Shamima Begum lived in the brutal camp where ISIS brides are turning on the guards. She is pictured in February with her son who later died

President Donald Trump moved US troops aside over the weekend to allow for the invasion, and said Turkey would take charge of the ISIS prisoners, including those Western countries refuse to repatriate out of security concerns.

The US is also planning to relocate dozens of the most feared IS prisoners to detention facilities in neighboring Iraq, according to Iraqi officials.

The al-Hol camp is some 30 miles (50 kilometers) from the Turkish border, outside the 'safe zone' Turkey plans to set up in northern Syria.

But as the fighting worsens, there is a heightened risk that large numbers of detainees could escape.

Al-Baghdadi himself was a former prisoner in Iraq, and jail breaks played a major role in the growth of IS after US and Iraqi forces had nearly eliminated an earlier incarnation of the group a decade ago.

Dozens of camp residents attacked an exit gate in an apparent escape attempt before Kurdish security forces brought the situation under control, SDF spokesman Mustafa Bali said on Friday.

Video from a closed-circuit camera showed security forces chasing women in black robes through the center of the camp.

'With increased SDF vulnerability, SDF control of al-Hol is likely to weaken and they will not coordinate with Turkey,' said Lina Khatib, head of the Middle East and North Africa Program at Chatham House, a London-based think tank.

She said the SDF is already struggling to maintain order and that IS is likely to exploit the chaos unleashed by the Turkish invasion to mobilize prisoners.

The Islamic State group lost its last foothold of territory in March, when the Syrian Kurdish forces captured the eastern village of Baghouz with US support.

But inside the overcrowded and squalid al-Hol camp, the group's violent ideology is alive and well, and a new generation is being indoctrinated.

Wives of Islamic Group fighters held in a Syrian camp complain of poor medical assistance, a lack of aid and some accuse Kurdish security guards of raiding their tents

A woman wearing a niqab walks carrying an infant. Kurdish authorities have warned the relatives of ISIS fighters still pose a threat

The International Committee of the Red Cross says the more than 40,000 children in the camp 'have experienced more violence, trauma and displacement in their short life than any of us can imagine.'

Western countries, including the United States, have refused to repatriate citizens who traveled to the Middle East to join ISIS, fearing they may not have enough evidence to convict them in criminal courts.

The Kurds have long warned that they cannot hold the prisoners indefinitely, and now say their forces are stretched thin as they send reinforcements to the north. They have also halted operations against ISIS, which continues to stage attacks in Syria and Iraq.

Like many other detention camps in Syria and Iraq, al-Hol is overcrowded and reliant on international aid.

Sewage runs through the muddy alleys, food is sometimes scarce and the water used for drinking and cleaning is contaminated.

Onus said MSF was forced to temporarily reduce its activities and that other aid groups were struggling to deliver much-needed assistance to a 'very vulnerable population.'

Aid groups have warned that conditions in the camps could get even worse with the Turkish offensive, which has already caused tens of thousands of people to flee, including many who were displaced by earlier rounds of fighting.