Sherif, a news correspondent, and his family are captured by ISIS. Ammar, assistant commander of the organization, tells them that their only chance to survive is to join ISIS. Sherif agrees so that he can look for his wife and child and takes the name Abu Huzaifa.
Abu Huzaifa meets Talha during the training period. The commander, Sheikh Abu Anas, decides that men should marry women from within the terrorist organization. He chooses a foreign woman for Talha, and chooses Umm Abiye (Abiye's mother), who tries to get out of the marriage, for Abu Huzaifa.
Abu Anas asks Ammar to find the people who advocate and paint graffiti against the organization. Abu Huzaifa tries to get closer to his wife’s son but the child refuses. Talha Al-Assiuty introduces his new wife Misty to his other three wives.
Ammar and Abu Huzaifa try to find those who advocate and paint graffiti against the organization. When all of Talha’s wives refuse to sleep with him, he goes to the slave market to buy a harem concubine who also refuses to sleep with him.
Ammar and Abu Anas threaten the people they captured and torture them severely. Talha goes with his four wives and Mariam to watch a movie under the supervision of Abu Anas and Ammar. New people from the resistance draw graffiti that provokes the organization and Ammar.
Abu Huzaifa asks Ammar to film the troops at the border to plan an escape route. Ammar wants an execution filmed. Abu Huzaifa manages to contact his family. Mariam decides to run away with her son, and one of Talha’s wives helps her. Talha threatens his wives when he finds out.
Talha finds Mariam and beats her up badly when they get home. Ammar considers planting a spy among the resistance’s prisoners. He informs Abu Anas of his plan and picks Abu Huzaifa to be the spy. Ammar’s wife, Habiba, plots with the resistance as she grows suspicious of a new recruit.
Ammar messes with Abu Huzaifa’s head, telling him he knows the number that he learned from the prisoner. Habiba’s saved by a fellow resistance member who takes responsibility for a graffiti Ammar was questioning her about. The resistance member is killed. Abu Huzaifa’s forced to spy on the prisoners.
Ammar requests the number that Abu Huzaifa learned. Abu Huzaifa beats him to an arranged meeting to warn the guy off. Abu Anas decides to revamp the group’s image in front of the world. He later forces Abu Huzaifa to buy a harem concubine in front of his wife.
Habiba tries to stop Ammar from thinking about the caliphate, but he remains attached to the idea. Mariam decides to convert to Islam so that she wouldn’t be a concubine. Ammar tries getting closer to a resistance member, so that he can capture the whole resistance force.
Mariam works in Umm Abyie’s workshop but Umm Abyie scolds her for not wearing a hijab. Ammar succeeds in catching one of the resistance members and tries to convince him to spy on the resistance for him.
Abu Anas asks Abu Huzaifa to make a movie about the organization and broadcast it online. When Ammar finds out that Habiba’s working for the resistance, he uses her to capture one of the leaders. As he confronts Habiba, she denies her involvement and he locks her up at home. Talha proposes to Mariam.
The organization tortures Feras and he spills all about the resistance, including Habiba’s cooperation with them. Habiba tells Ammar to turn her in to the organization so that he can get to raise their son, but he tells her he’ll help her escape. The two of them get caught.
When Talha’s injured during a bombing, the doctor tells Abu Huzaifa that they had to amputate his legs, and he has become sterile. Abu Anas orders the execution of all captured resistance members, including Habiba.
Talha asks his wives if they want to stay married to him and divorces them all when he’s met with complete silence. Abu Huzaifa is shocked to discover that his wife and daughter become concubines for the organization and tries to buy them. The commander makes Ammar the head of military operations.
Ammar buys Abu Huzaifa’s wife, Ola, and Abu Huzaifa fails to buy her back from him. Abu Anas makes Ammar buy another concubine and takes Ola to himself. Abu Huzaifa fails to get a religious sanction (fatwa) to have her back. Mariam appears to be still following Christianity.
Abu Huzaifa tries mending things with his wife Umm Abiye after she learns about his wife and daughter. Ammar considers leaving after his wife’s murder. Abu Huzaifa tries to break Ola out of Abu Anas’s home. Umm Abiye pressures Mariam to get married
Mariam asks Talha if he still wants to marry her. Umm Abiye succeeds in her plan to get Ola out of Abu Anas’s house. Ammar wakes up to his daughter holding a gun to his head.
Ammar tries some drugs to help him sleep as he suffers from nightmares, but it doesn’t work, so he goes to a therapist who tells him that this is his subconscious telling him his wife was right in what she did. Abu Huzaifa’s grateful to Umm Abiye for helping Ola escape. Talha marries Mariam.
Ammar promises the therapist to tell his story to his family. Abu Huzaifa surprises his concubine by setting her free. Umm Abiye manages to keep the soldiers away from Ola so Abu Huzaifa can marry her. Mariam wants to escape with Misty. Ammar decides to go rogue.
Abu Huzaifa tells Ola about Um Abyie and that they’ll live together. Talha’s saddened that Mariam married him out of pity. Ammar starts recruiting for the new resistance with Bilal. The commander chooses a new young wife for Ammar.
Ammar calls on Abu Huzaifa to join the resistance but he declines. Umm Abyie kicks him out of the house and asks for a divorce after he asks her to run away with him. Talha finds out that Mariam didn’t convert to Islam. Abu Huzaifa tells Abu Anas that Ammar’s the head of the resistance.
When Ammar's brother Salih arrives to join the organization, Ammar tries to talk him out of it to no avail. Ammar wriggles through Abu Huzaifa's snitching. Talha tells Mariam he knows her secret. Ammar convinces Abu Huzaifa to film the resistance’s mission in return for helping him to the borders.
Salih refuses to be moved to the borders, as he wants to be among the soldiers. Abu Anas wants Salih with him against Ammar’s wishes. Abu Anas discovers the hideout of an injured resistance member, but Ammar reaches him first. Abu Anas looks for Bilal.
Abu Anas questions Ammar about Bilal and tortures Bilal for information about the resistance. Bilal asks Ammar to mercy kill him for mercy. Abu Huzaifa’s on his way out of the caliphate’s land but Umm Abiye refuses to join him and his wife and daughter.
Ammar finds out that his wife’s spying on him and decides that the resistance must continue. Abu Anas wants Talha to spy on Abu Huzaifa in return for his old job and better salary. Umm Abiye volunteers for a suicide mission, and Abu Huzaifa tries to stop her.
Umm Abyie fails her suicide mission and returns to her son. The resistance raids the organization's grounds and loots their arsenal. Talha bids Abu Huzaifa farewell at the borders as he meets the guy who will smuggle him and his family out. Abu Anas arrests Abyie.
Umm Abyie’s enraged after her son’s arrest and calls Abu Huzaifa, who decides to go back to rescue the boy by confessing that the drawing is his. Abu Huzaifa’s sentenced to death and asks Talha to carry out the sentence instead of Abu Anas. Umm Abyie tells her son his real name.
Talha captures Badr who confesses under torture that Ammar’s the resistance’s leader. Ammar decides to flee with his daughter to Egypt. Abu Anas plots with the Emir to execute Salih publicly to get Ammar to turn himself in. Ammar returns and Abu Anas tortures him.
Umm Abyie helps Misty out as she flees with Nadia and Mariam to Egypt. Talha kills himself due to his impotence. During his trial, Ammar tells his brother to go back to Egypt and asks people to join the resistance. As he reminisces about Habiba, music starts to play so Abu Anas slits Ammar's throat.