The term Afghan Arabs (also known as Arab-Afghans) refers mostly to Arab and other Muslim Islamist mujahideen who came to Afghanistan during and following the Soviet-Afghan War to help fellow Muslims fight Soviets and pro-Soviet Afghans.
Estimates of the volunteers number are 20,000 to 35,000. Observers and journalists covering the war have cast doubt on their significance as a fighting force in Afghanistan, but within the Muslim Arab world they achieved near hero-status for their association with the defeat of the militant atheist, anti-religious Communist superpower that was the Soviet Union, and on returning home had considerable significance waging jihad against their own and other governments. Their name notwithstanding, none were Afghans and some were not Arabs, but Turkic, Malay or from some other Muslim ethnicity. In the West, the arguably most famous among their ranks was Osama bin Laden.
Arabs entered the area today known as Afghanistan in earlier centuries in two distinct waves. During the Islamic conquest of Afghanistan, many Arabs settled throughout the region, while another wave arrived during the Bolshevik Revolution. "Afghan Arabs" who entered Afghanistan during the Soviet-Afghan War began arriving in the early 1980s.
One supporter of the Afghan Arabs, General Hameed Gul, the former head of the Pakistan Inter-Services Intelligence, explained the recruitment of Muslims to fight in Afghanistan this way: `We are fighting a jihad and this is the first Islamic international brigade in the modern era. The Communists have their international brigades, the West has NATO, why can't the Muslims unite and form a common front?` 
Abdullah Yusuf Azzam (1941–1989) is often credited with creating enthusiasm for the Afghan mujahideen cause in the Arab Muslim and greater Muslim world. When the Soviets invaded Afghanistan in 1979, Azzam issued a fatwa, Defense of the Muslim Lands, the First Obligation after Faith  declaring defense jihad in Afghanistan fard ayn (a personal obligation) for all Muslims. "Whoever can, from among the Arabs, fight jihad in Palestine, then he must start there. And, if he is not capable, then he must set out for Afghanistan." While Jihad in Palestine was more important, for practical reasons, "it is our opinion that we should begin [Jihad] with Afghanistan before Palestine."  The edict was supported by other Sheikhs including Saudi Arabia's Grand Mufti (highest religious scholar), Abd al-Aziz Bin Baz.
Sometime after 1980, Adullah Azzam established Maktab al-Khadamat (Services Office) to organize guest houses in Peshawar just across the Afghan border in Pakistan and paramilitary training camps in Afghanistan to prepare international recruits for the Afghan war front. Using financing of Saudi Arabia and a wealthy young Saudi recruit, Osama bin Laden, Maktab al-Khadamat paid for "air tickets and accommodation, dealt with paperwork with Pakistani authorities and provided other such services for the jihad fighters" from the Muslim world. During the 1980s, Azam had forged close links with two of the Afghan mujahideen faction-leaders, Gulbuddin Hekmatyar the Pakistan favorite, and Abdul Rasul Sayyaf, an Islamic scholar from Afghanistan whom the Saudis had "sent to Peshwar to promote Wahhabism."
Adullah Azzam toured not only the Muslim world but the United States, in search of funds and young Muslim recruits. He inspired young Muslims with stories of miraculous deeds, mujahideen who defeated vast columns of Soviet troops virtually single-handed, who had been run over by tanks but survived, who were shot, but unscathed by bullets. Angels were said to ride into battle on horseback, and falling bombs were intercepted by birds, which raced ahead of the jets to form a protective canopy over the warriors. Critics complain these stories proliferated because Sheikh Abdullah paid mujahideen to bring "him wonderful tales."
In the camps of the foreign volunteers Azzam was said to be "able to exercise a strong influence on the unpredictable jihadists". His slogan was "Jihad and the rifle alone: no negotiations, no conferences and no dialogues." He emphasized the importance of jihad: "those who believe that Islam can flourish [and] be victorious without Jihad, fighting, and blood are deluded and have no understanding of the nature of this religion," and that Afghanistan was only the beginning:
This duty [i.e. jihad] shall not lapse with victory in Afghanistan, and the jihad will remain an individual obligation until all other lands which formerly were Muslim come back to us and Islam reigns within them once again. Before us lie Palestine, Bukhara, Lebanon, Chad, Eritrea, Somalia, the Philippines, Burma, South Yemen, Tashkent, Andalusia ...
Sometime after August 1988, Azzam was replaced as the leader of the Arab Afghans in Peshawar by Osama bin Laden. Azzam himself was assassinated there in November 1989 by roadside bomb that some think was the work of the radical jihadi Egyptian Islamic Jihad and his opponent Ayman al-Zawahiri.
While there was generous financial aid to Afghan guerillas throughout the 1980s, most foreign Muslim jihad volunteers did not arrive in Afghanistan until the mid-1980s. By 1986 the Soviets were talking about withdrawing from Afghanistan. As it became clear the Mujahideen's fight against the Soviets had been a success, it became more popular with Muslims worldwide, and drew more of them to volunteer in Afghanistan. Consequently, most of the "Afghan" Arabs arrived to fight the Soviets when they were least needed. The late arrivals were reportedly twice the number who came for the war against the Soviet occupation.
Many of the later volunteers were different than the early "Afghan" Arab volunteers inspired by Sheikh Azzam's tours, and have been criticized for being less serious,
Some Saudi tourists came to earn their jihad credentials. Their tour was organized so that they could step inside Afghanistan, get photographed discharging a gun, and promptly return home as a hero of Afghanistan.
or more sectarian and undisciplined in their violence. Violence escalated in Peshwar Pakistan, the mujahideen staging area and center of Afghan Arab activity.
These later expatriate volunteers included many sectarian Salafi and Wahhabi who alienated their hosts with their aloof manner and disdain for the Sufi Islam practiced by most Afghans. While the first Arab Afghans were "for the most part" welcomed by native Afghan mujahideen, by the end of the Soviet-Afghan war, there was a great deal of mutual antagonism between the two groups. The Afghan mujahideen resented "being told they were not good Muslims" and called the expatriate volunteers "Ikhwanis" or "Wahhabis", and this resentment is thought by some (Marc Sageman) to have played a role in the relatively easy manner in which the U.S. overthrew the (also very strict) Taliban in 2001.
In the "great gathering" of international Islamists—Arab, Afghan, and other countries—at camps and training centers around Peshawar, ideas were exchanged and "many unexpected ideological cross fertilizations" took place, particularly a "variant of Islamist ideology based on armed struggle and extreme religious vigour" known as Salafi jihadism.
The pro-Soviet regime in Kabul fell in April 1992. After this, some foreign mujahideen stayed in Afghanistan and took Afghan wives. These Afghan Arabs served as the essential core of the foot soldiers of Osama bin Laden's Al Qaeda, bin Laden being seen, according to journalist Lawrence Wright, as "the undisputed leader of the Arab Afghans" by fall of 1989.
Others returned "with their experience, ideology, and weapons," to their home (or other Muslim) countries, often proceeding to fight jihad against the government there. However minimal the impact of the "Afghan" Arabs on the war against the Soviets, the return of the volunteers to their home countries was often not. In Foreign Affairs Peter Bergen writes:
The foreign volunteers in Afghanistan saw the Soviet defeat as a victory for Islam against a superpower that had invaded a Muslim country. Estimates of the number of foreign fighters who fought in Afghanistan begin in the low thousands; some spent years in combat, while others came only for what amounted to a jihad vacation. The jihadists gained legitimacy and prestige from their triumph both within the militant community and among ordinary Muslims, as well as the confidence to carry their jihad to other countries where they believed Muslims required assistance. When veterans of the guerrilla campaign returned home with their experience, ideology, and weapons, they destabilized once-tranquil countries and inflamed already unstable ones.
Three countries where Afghan Arabs had the biggest impact immediately following the war were Bosnia, where they fought against Bosnian Serb and Croat militias, and Algeria and Egypt, where they fought the respective governments. According to Compass, 2,000 Egyptians and 2,800 Algerians were trained for combat in the Pakistan border area though not all of these volunteers saw action in Afghanistan. Several hundred had recently returned home by 1992.
In Bosnia the war ended with peace accords and American peacekeeping troops rather than sharia law. In both Algeria and Egypt after much blood letting the Islamist movement lost popular support and the government prevailed.
Bosnia was a major issue in the Muslim World which saw the attack on Sarajevo by Serbian militias as an aggression of Christians against Muslims and proof of Western double standards on human rights. About 4000 Jihadists from Peshawar and new international recruits went to fight in Bosnia, but there calls for Jihad and re-Islamization fell on deaf ears among the mostly secular Bosnian Muslim community which lacked a population explosion among the poor or a pious middle class that most Muslim countries had.
The Afghan Arab veterans formed a El-Mudzahidun regiment in August 1993 but hurt the Bosnian image internationally with "photographs of grinning Arab warriors brandishing the freshly severed heads of `Christian Serbs`". The volunteers also took upon themselves Hisbah ("commanding right and forbidding wrong") and also attempted to impose the veil on women and the beard on men and in addition engaged in
causing disturbances in the ceremonies of [Sufi] brotherhoods they deemed to be deviant, .... smashing up cafes, and ... [organizing] sharia marriages to Bosnian girls that were not declared to the civil authorities.
After the 1995 Dayton Agreement (which gave Bosniaks control of 30% of the Bosnia and Herzegovina) were signed, all foreign volunteers were invited to leave the territory of Bosnia-Herzegovina and were replaced by American peacekeeping forces, a "bitter experience" for Afghan Arab jihadist-salafists. According to Gilles Kepel as of 2003, the only thing left of their presence are "a few naturalized Arab subjects married to Bosnian women."
Several veterans of jihad in Afghanistan were important in the Armed Islamic Group of Algeria or GIA—one of two insurgent groups fighting the government in the Algerian Civil War after the army intervened to prevent the leading Islamist party from winning elections scheduled for January 1992. Sief Allah Djafar, aka Djafar al-Afghani, spent two years in Afghanistan and in 1993 became "amir" of the GIA. Providing doctrinal justifications for the GIA and a "steady stream of pro-GIA publicity" for Muslims outside Algeria (until June 1996 when GIA atrocities became too much) were two other Afghan veterans, Abu Mousab (a Spanish Syrian) and Abu Qatada (a Palestinian).
The GIA slogan—"no agreement, no truce, no dialogue"—echoed that of Abdullah Azzam. The group was committed to overthrowing the "impious" Algerian government and worked to prevent any compromise between them and the Islamist FIS party. Under Djafar, the GIA broadened its attacks to include civilians who refused to live by their prohibitions, and then foreigners living in Algeria. By the end of 1993 26 foreigners had been killed. In November 1993 it kidnapped and executed Sheik Mohamed Bouslimani "a popular figure who was prominent" in the moderate Islamist Algerian Hamas party who refused "to issue a fatwa endorsing the GIA's tactics." Djafar was killed February 26, 1994, but GIA continued to escalate violence, massacring whole villages of peasants for their alleged apostasy from Islam manifested by their failure to support GIA's jihad. Though the "undisputed principal Islamist force" in Algeria in 1994, by 1996, militants were deserting "in droves", alienated by its execution of civilians and Islamists leaders and believing it to be infiltrated by government agents. By the end of the 1990s the group was spent, somewhere between 40,000-200,000 lives had been lost, and the once broad and enthusiastic support by voters for the anti-government Islamism was replaced "with a deep fear of instability". Algeria was one of the few in the Arab world not to participate in the Arab Spring.
In Egypt, "fundamentalists fighting the government in the 1990s included "several hundred `Afghan` guerrillas". The main group was led by Ayman al-Zawahiri and Mohammed Shawky al-Istambouli—brother of the army lieutenant who led the assassination of Egyptian President Anwar Sadat in October 1981. Al-Istambouli established a base in Jalalabad, in eastern Afghanistan, during the war. (The Islamist terror group al-Gama'a al-Islamiyya still had about 200 men there in 1994.) A former army colonel and "prominent fundamentalist" who fled Egypt after the Sadat assassination, Ibrahim el-Mekkawi, maintained training camps and other bases near the Afghan-Pakistan border and directed the Islamic campaign in Egypt from Pakistan according to authorities in Cairo.
Egypt's institutions had more political strength and religious credibility than Algeria's, and hundreds rather than thousands were killed in the terror campaign before it was crushed in 1997-8. Al-Gama'a al-Islamiyya militants harassed and murdered members of the Coptic Christian minority, and by 1992 had broadened their targets to police and tourists, causing serious harm to Egypt's economy. Violence in Egypt reached its peak in the November 1997 Luxor massacre of 60 people most of whom were tourists.
In the mid- and late-1990s, the Afghan Arabs, in the form of the Wahhabi-oriented Al-Qaeda, became more influential in Afghanistan helping and influencing the Taliban. Several hundred Arab-Afghans participated in the 1997 and 1998 Taliban offensives in the north and helped the Taliban carry out the massacres of the Shia Hazaras there. Several hundred more Arab-Afghans, based in the Rishkor army garrison outside Kabul, fought on the Kabul front against General Ahmed Shah Massoud. At the same time the Taliban's ideology changed. Until the "Taliban's contact with the Arab-Afghans and their [the Taliban's] pan-Islamic ideology was non-existent." 
By 1996 and 1998, al Qaeda felt comfortable enough in the sanctuary given them to issue a declaration of war against Americans and later a fatwa to kill Americans and their allies. "The Arab-Afghans had come full circle. From being mere appendages of the Afghan jihad and the Cold War in the 1980s they had taken centre stage for the Afghans, neighbouring countries and the west in the 1990s."  This was followed by al Qaeda 1998 American embassy bombings in African and the September 11, 2001 attacks.
Following the attacks of September 11, 2001, America invaded Afghanistan, deposing the Taliban, ending the heyday of the Afghan Arabs. During the American campaign in Afghanistan in late 2001, many coherent units of Arab fighters were destroyed by JDAMs. Some Arab fighters have been held by Afghan tribesman for ransom paid by Americans.
Perhaps the major contribution of the more serious Afghan Arab volunteers was humanitarian aid —- the setting up of hospitals around Peshawar and Quetta and providing funds for supply caravans to travel to the interior of the country. The effectiveness of the Afghan Arabs in Afghanistan as a fighting force has been scoffed at, called a "curious sideshow to the real fighting," Estimates are there were about 2000 Arab Afghans fighting "at any one time", compared with about a 250,000 Afghan fighters and 125,000 Soviet troops.
Marc Sageman, a Foreign Service Officer who was based in Islamabad from 1987-1989, and worked closely with Afghanistan's Mujahideen, says
Contemporaneous accounts of the war do not even mention [the Afghan Arabs]. Many were not serious about the war. ... Very few were involved in actual fighting. For most of the war, they were scattered among the Afghan groups associated with the four Afghan fundamentalist parties.
One instance where the foreign volunteers did participate in the fighting is reported to have backfired disastrously, hurting the Afghan resistance by prolonging the war against the Afghan Marxist government following the Soviet withdrawal.
The March 1989 battle for Jalalabad, was to be beginning of the collapse of the Afghan Communist government forces, with those forces began negotiation of surrender to the native Afghan mujahideen. Unfortunately, radical non-Afghan salafists became involved, executing some 60 surrendering Communists, cutting their corpses into small pieces, and sending the remains back to the besieged city in a truck with the message that this would be the fate awaiting the infidels. Despite apologies and assurances of safety from Afghan resistance leaders, the Communists ended their negotiations of surrender, spurred them on to break the siege of Jalalabad and to win the first major government victory in years. "This success reversed the government's demoralization from the withdrawal of Soviet forces, renewed its determination to fight on, and allowed it to survive three more years." 
According to one source, some "35,000 Muslim radicals from 43 Islamic countries in the Middle East, North and East Africa, Central Asia and the Far East," fought for the Afghan Mujahideen. Tens of thousand more foreign Muslim radicals came to study in the hundreds of new madrassas in Pakistan and along the Afghan border, that the Pakistan government funded. Eventually "more than 100,000 Muslim radicals were to have direct contact with Pakistan and Afghanistan and be influenced by the jihad." 
The Mujahideen of Afghanistan were divided into several factions and the Afghan Arabs helped some factions much more than others. Factions led by Abdul Rasul Sayyaf and Gulbuddin Hekmatyar are described as having had good relations with Afghan Arabs. The faction led by Ahmad Shah Massoud, did not.
Afghan Arabs have been described as strongly motivated by hopes for martyrdom. Rahimullah Yusufzai, the Peshawar bureau chief for the Pakistani daily News, remarked on his amazement that one camp of Arab Afghans pitched white tents on the front lines, where they were easy marks for Soviet bombers, then attacking the camp. When he asked the Arabs "Why?" they replied: `We want them to bomb us! We Want to die!` Bin Laden himself has said: `I wish I could raid and be slain, and then raid and be slain, and then raid and be slain,` 
The United States spent several billion dollars aiding the mujahideen who "had been considerably romanticized in the American press and had made tours through American churches, where they were lauded for their spiritual courage in the common fight against Marxism and godlessness". Some of the Afghan Arabs jihadis who flocked to Afghanistan, however, saw themselves as opponents of the West every bit as much as of Communism.
French writer Olivier Roy, who spent some years in Afghanistan, and served with the United Nations Office for Coordinating Relief in Afghanistan (UNOCA), has written that the jihadis "did not become anti-Western after 1991 -- they had always been so."
All westerners, like me, who encountered the so-called `Arabs` inside Afghanistan during the war of resistance were struck (sometimes physically) by their hostility. The Arabs constantly asked the Afghan mujahideen commanders to get rid of the `infidels` and to choose only good Muslims as supporters, and called for the expulsion of Western NGOs ... in many areas the mujahideen had to intervene to prevent physical assaults on westerners. 
Author Gilles Kepel writes that in Peshwar Pakistan, some Afghan Arabs attacked "Europe and American humanitarian agencies ... trying to help the Afghan refugees." 
In contrast according to former British Defence Secretary Michael Portillo, late Prime Minister of Pakistan Benazir Bhutto told him said Osama bin Laden was initially pro-American. According to Prince Bandar bin Sultan of Saudi Arabia, on the one occasion he met and talked to Osama bin Laden, bin Laden thanked him for his "efforts to bring the Americans, our friends, to help us against the atheists, he said the communists."
The Afghan Arabs are sometimes reputed to be a creation of the American government and the Central Intelligence Agency in particular.
Bin Laden was, though, a product of a monumental miscalculation by western security agencies. Throughout the 80s he was armed by the CIA and funded by the Saudis to wage jihad against the Russian occupation of Afghanistan. Al-Qaida, literally "the database", was originally the computer file of the thousands of mujahideen who were recruited and trained with help from the CIA to defeat the Russians.
that the CIA funded bin Laden or trained bin Laden—is simply a folk myth. There's no evidence of this. In fact, there are very few things that bin Laden, Ayman al-Zawahiri and the U.S. government agree on. They all agree that they didn't have a relationship in the 1980s. And they wouldn't have needed to. Bin Laden had his own money, he was anti-American and he was operating secretly and independently.
The real story here is the CIA didn't really have a clue about who this guy was until 1996 when they set up a unit to really start tracking him.
Bergen quotes Pakistani Brigadier Mohammad Yousaf, who ran ISI's Afghan operation between 1983 and 1987:
It was always galling to the Americans, and I can understand their point of view, that although they paid the piper they could not call the tune. The CIA supported the mujahideen by spending the taxpayers' money, billions of dollars of it over the years, on buying arms, ammunition, and equipment. It was their secret arms procurement branch that was kept busy. It was, however, a cardinal rule of Pakistan's policy that no Americans ever become involved with the distribution of funds or arms once they arrived in the country. No Americans ever trained or had direct contact with the mujahideen, and no American official ever went inside Afghanistan.
According to Peter Beinart,
Vincent Cannistraro, who led the Reagan administration's Afghan Working Group from 1985 to 1987, puts it, "The CIA was very reluctant to be involved at all. They thought it would end up with them being blamed, like in Guatemala." So the Agency tried to avoid direct involvement in the war, ... the skittish CIA, Cannistraro estimates, had less than ten operatives acting as America's eyes and ears in the region. Milton Bearden, the Agency's chief field operative in the war effort, has insisted that "[T]he CIA had nothing to do with" bin Laden. Cannistraro says that when he coordinated Afghan policy from Washington, he never once heard bin Laden's name.
According to Olivier Roy, "the CIA was not in charge (accusing Bin Laden of having been a CIA agent is nonsense) of the program" to enlist Muslim volunteers to fight Soviets in Afghanistan, "but it did not oppose the scheme or worry about it negative consequences."
The US attitude had more to do with benign neglect than Machiavellian strategy. Eagerness to claim absolute victory in Afghanistan, bureaucratic inertia, lack of concern and expertise, overconfidence in the Saudi and Pakistani security services ... all explain why nobody in Washington cared.
However, Sheik Omar Abdel Rahman—a major recruiter of the Afghan Arabs—was given his visas to enter the US on four separate occasions by the CIA. Egyptian officials testified that the CIA actively assisted him. Rahman was a co-plotter of the 1993 World Trade Center bombing.
The last great call to arms for Muslim fighters was in the 1980s, after the Soviets invaded Afghanistan. About 20,000 foreign fighters traveled there, most of them from the Gulf states.
In all, perhaps 35,000 Muslim fighters went to Afghanistan between 1982 and 1992, while untold thousands more attended frontier schools teeming with former and future fighters.
Until the mid-1980s, international Islamic solidarity was expressed largely in financial terms.
In the camps and training centers around Peshawar ... Arabs mixed with Afghans and Muslim from every corner of the world and exchanged ideas based on their different traditions. [In this] great gathering of international Islamists ... many unexpected ideological cross fertilizations and grafts emerged.