The Flag at Gudu: The Fulani Jihad and the Price of an Islamic State
On 21 February 1804 a green flag is raised in a village on the north-western frontier of Gobir. Within four years the old Hausa capital Alkalawa lies in ashes, its sarki dead, and a new Islamic empire risen from the dust. This is the story of the Fulani Jihad — a movement that invoked Allah ﷻ, the shari’a and thirty years of frustration, and that simultaneously bears a bitter truth: it was a war of Muslims against Muslims, justified by takfīr, fought out with musket and sabre, and won with the merciless certainty that only ideological conviction can supply.
Gudu, a Bare Village in the Early Spring
Gudu lies at approximately 12.75° north, 4.50° east. Today it is a hamlet in Sokoto State, a handful of compounds, a mosque that has been rebuilt and rebuilt again, a place no tourist visits. In February 1804 it was less than that. A few Fulani camps, some scattered mud huts, a spring, a few fields.
You have to imagine how it looked at the time. A flat landscape, here and there a dum palm, here and there an acacia with a flat crown. The Harmattan had just blown the air full of dust, so that the horizon faded into an orange haze. The nights were chilly. The days dry, dusty, clear enough to see for kilometres who was approaching.
To this place Usman dan Fodio ﵀ travelled with his jama’a on 12 Dhu al-Qa’da 1218 — 21 February 1804. The caravan numbered, according to Fulani sources, several hundred people directly, perhaps six hundred, probably more if the children and servants are counted. They arrived with what they had been able to load onto their camels and donkeys: books, above all, for the shaykh ﵀ never travelled without his small private library; textiles; tools; food for several weeks; and the weapons they had managed to scrape together — largely spears, archers’ equipment, a few swords, and only a handful of old firearms that had not been fired for years.
Thirty years of preaching had brought them to this point. Now something else had to begin.
The Raising of the Flag
What happened at Gudu has been preserved in Infāq al-Maysūr, the chronicle that Muhammad Bello ﵀ — dan Fodio ﵀'s son — would later write. It is our best account from the inside, written by someone who was present at the events. Bello ﵀ was at his father’s side at that moment about nineteen years old, on his way to becoming the actual military mind of the entire campaign.
At Gudu dan Fodio ﵀ was formally proclaimed by his followers as Amīr al-Muʾminīn, Commander of the Faithful. This is one of the weightiest titles in the Islamic tradition. It was originally borne by Umar ibn al-Khattab ﵁, the second caliph, and has since been reserved for the legitimate leader of an Islamic community. That dan Fodio ﵀ accepted it — initially, as he writes in his own works, with reluctance — was a formal declaration that he no longer recognised the political authority of Yunfa’s Gobir, that a new bay’a, an oath of allegiance, was owed, no longer to the sarki but to him as Islamic leader.
This was a legal step with consequences that could no longer be undone. Whoever pledged the bay’a to dan Fodio ﵀ thereby declared the bay’a to Yunfa null and void. For Yunfa this was rebellion. For dan Fodio ﵀'s jama’a it was resurrection.
Then the flag was raised. In the Fulani tradition a green banner — green is the colour of the Prophet ﷺ, the colour that since the Umayyad period had coloured the banners of Muslim armies. It was carried by Muhammad Bello ﵀, or perhaps by Abdullahi ﵀, dan Fodio ﵀'s brother; the sources differ slightly on this point.
The shaykh ﵀ spoke. What he said precisely has not been preserved word for word, but the gist is clear enough: he declared jihad against Yunfa and against the other Hausa rulers who hindered Muslims in the practice of their faith. He cited the Qur’anic passages that permitted jihad fi sabil Allah when Muslims were oppressed. He reminded his followers of the hijra of the Prophet ﷺ from Mecca to Medina, of the first bay’a under the tree of Aqaba, of the battle of Badr in which a small army of believers defended their faith against a far larger one. He did not promise them victory — that belonged to Allah ﷻ —, but he promised them the rightness of their cause.
And then the work began.
The Kitab al-Farq: The Legal Architecture of the War
A sword without justification is banditry. A justification without a sword is only a complaint. Dan Fodio ﵀'s jihad had both, and the legal part — which we must understand before we enter the battles — is set down in a text that is still controversial: the Kitāb al-Farq bayn Wilāyāt Ahl al-Islām wa Wilāyāt Ahl al-Kufr, “The Book on the Difference Between Muslim and Unbeliever Government”.
Dan Fodio ﵀ had written this text earlier — probably in the 1790s, the exact dating is contested —, but it became in the jihad years the foundational manifesto of the movement. Its question is simple and terrible: when is a government that calls itself Islamic in fact non-Islamic? When does a ruler lose his status as legitimate Muslim authority? When is the duty of obedience, which Muslims in principle owe their rulers, reversed into the duty of resistance?
The answer the Kitāb al-Farq gives is systematic. A government becomes wilāyāt ahl al-kufr — an unbelieving government — if it does not apply shari’a; if it levies taxes not founded in fiqh; if it carries out arbitrary executions, confiscates Muslim property, coerces Muslim women; if it maintains non-Islamic rituals at court and persecutes Muslims who break with them; if it — this is the sharpest line — impedes or forbids the open profession of the faith.
Dan Fodio ﵀ enumerates these criteria, and then — cautiously but unmistakably — projects them onto the Hausa sarauta. The sarkis of Gobir, Kano, Katsina, Zaria, the rest, meet these criteria in several respects. They levy jangali that has no Maliki basis. They maintain a court culture in which iskoki rituals are practised alongside Islamic ones. They force dan Fodio ﵀'s jama’a into withdrawal and persecute its members. So their authority is — not in name but legally — no legitimate Islamic authority.
This is the crucial step. The Kitāb al-Farq is not an explicit takfīr declaration against the Hausa sarkis as individual Muslims. Dan Fodio ﵀ is too cautious for that. He declares the authority invalid, not necessarily the person. But the consequence is in practice the same: against such authority jihad is not only permitted, it is obligatory.
Later generations would often not preserve this nuance. In the heat of war, on the lips of less learned wa’iz-preachers who had read the Kitāb al-Farq poorly or not at all, the takfīr against authority quickly became takfīr against the Hausa population itself. Hausa Muslims were treated in some villages as murtaddun, as apostates. Their property confiscated, their children made slaves. This was not what dan Fodio ﵀ had legally written down. It was, however, what happened on the ground.
We must say this directly. The Fulani jihad was in its doctrinal structure a war against holders of authority; in its practical execution it often became a war against populations. And the Hausa populations against whom it was waged were themselves already Muslim — often not as strict in doctrine as dan Fodio ﵀ wished, but Muslim in name and in prayer. This was no war against unbelievers. It was, in the sharpest terms, a jihad of Muslims against Muslims, built on a takfīr doctrine that — however legally founded — in execution ran through layers of self-deception and violence.
Whoever speaks about the Fulani jihad without naming this truth speaks with half a mouth. We do not wish to do that this evening.
Tsuntua: the Disaster Early in the Year
The flag was raised, the Amīr al-Muʾminīn appointed, the jihad declared. And the first military action became a disaster.
Yunfa reacted swiftly. He sent an army from Alkalawa to the south-west to crush the jama’a before it could establish itself. In the summer of 1804 — some sources place it earlier, in April or May, others in August — the two forces met at Tsuntua, a place north of Gudu.
The Gobir cavalry was professional. The Hausa sarkis had maintained cavalry units since the fifteenth century, with Arabian horses from the trans-Saharan trade, with armour of locally forged iron, with command structures that were generations old. They attacked the jama’a, and it became a slaughter.
The Fulani sources themselves acknowledge it. Muhammad Bello ﵀ writes in Infāq al-Maysūr that the movement lost 2000 of its followers at Tsuntua. That is an enormous figure in proportion to the jama’a, which could perhaps field only a few thousand fighting men. Among the dead were fourteen ḥuffāẓ, men who knew the entire Qur’an by heart — a loss that was almost unbearable for the Fulani tradition symbolically. There were students of dan Fodio ﵀ among them, eminent talaba, men who had copied his books.
In other movements Tsuntua would have been the end. A defeat of this scale, this early, with such losses, ought to have made the jama’a fall apart. It did not fall apart. That it did not fall apart is owed to two factors.
First: the ideological conviction was firm enough that a defeat was not seen as a sign of Allah’s ﷻ disapproval, but as a trial that Muslims had endured throughout jihad history — think of the battle of Uhud, which ended in defeat and was yet followed by further victories.
Second: the organisational structure of the jama’a was — thanks to thirty years of quiet building — deeply rooted in village communities over a wide area. Tsuntua was one battle. The jama’a was no army but a movement. Its core did not sit in one place. Villages in Zamfara, in Kebbi, further away in Adamawa, had long been prepared for the moment when they would have to undertake the hijra or join the struggle.
Dan Fodio ﵀ himself, according to his own writings, worked above all on his pen during those months. He wrote Wathīqat Ahl al-Sudān, a circular letter to the followers, in which he placed the defeat in the larger legal and spiritual framework. He sent Abdullahi ﵀ and Bello ﵀ into the field as the actual military leaders. And he reorganised.
Tabkin Kwotto: The Turning-Point Battle
Around June 1804 — the Infāq gives 26 Rabi’ al-Akhir 1219 as the date, which corresponds roughly to 6 June — the jama’a fought a second battle that changed everything. It took place at Tabkin Kwotto, “the Lake of Kwotto”, near what would later become Gwandu.
Here a Gobir army attacked again, in combination with troops from Kebbi. The ratio was, according to Fulani sources, roughly one to ten to the disadvantage of the jama’a — Infāq gives 20,000 Hausa fighters against 2,000 Fulani, a ratio that is no doubt rhetorically inflated but which conveys the overall underdog position.
And the Fulani won.
How? There are several explanations, and all are probably partly correct. The Fulani fighters were more lightly armed, more mobile, and they fought in terrain — semi-wooded, with water close by — that suited their infantry-with-archers tactics better than the Gobir cavalry. They had morale on their side, for this was now literally a struggle for survival. They had a du’a from their shaykh ﵀, who according to tradition had prayed at the battlefield that night for victory. And — perhaps most importantly — they had a field commander, Abdullahi dan Fodio ﵀, who knew how to cut tactical knots where the broader jama’a would have hesitated.
The battle lasted a day. The Gobir cavalry broke on the Fulani archer lines. Their commanders fled. The remainder of the army was scattered.
For the jama’a Tabkin Kwotto was the sign that Tsuntua had not been the end. Allah ﷻ had not abandoned them. The jihad was legitimate and would be continued. Followers who had still hesitated streamed in. Lesser rulers in Zamfara and Kebbi, who had long balanced on the fence, now openly declared themselves for the shaykh ﵀.
Politically the victory was even more important than militarily. Tabkin Kwotto changed the jama’a from a threatened refugee movement into a recognised, strategically relevant power. From that moment on the Hausa sarkis were on the defensive.
The Wave Movement: Emir Appointments and the Flag That Spread
In the years 1804 to 1808 something remarkable took place. The jama’a was not a centrally led army that moved as a single block through Hausaland. It was — just as the movement under thirty years of preaching had been built — a network of local nodes. And in every node a Fulani figure stood ready who would be formally appointed by the shaykh ﵀ as amīr, as emir, over a region.
Dan Fodio ﵀ issued “flags”. Literal green flags, plus written bay’a documents, plus a legal mandate. A Fulani scholar who had long preached in Kano — Ibrahim Dabo, Mallam Jamo — would receive the flag and begin in his region an uprising against the Hausa sarki of Kano. Another, Buba Yero, would take up the flag in Gombe. Usman Nagwamatse would take it up in Kontagora. Modibo Adama would take it up in Fumbina — the future Adamawa.
In this way the jihad spread like a wave, not like an army. Each flag was a local revolution. The central Amīr al-Muʾminīn — dan Fodio ﵀ himself — was no field marshal but a murshid, an issuer of legitimation. He remained in or near Gudu, then later in Sifawa, then in Sokoto. He wrote letters. He gave counsel. He prayed.
It is a form of organisation that, in modern literature, is sometimes designated by the term “flag-jihad”. It has a particular quality: it spread the movement faster than a traditional military campaign could have, but it carried at the same time the seed of future internal fragmentation. The emirate territories became in essence autonomous. They formally recognised the khalīfa of Sokoto; they functioned in practice largely on their own. This structure would last well into the nineteenth century, until the British conquest of 1903 took over the entire federation under colonial rule — and then, ironically, retained that same emir structure, now as indirect rule.
Alkalawa: The Fall of the Capital
Back in the core triangle Gobir-Kebbi-Zamfara the war reached its climax in 1808. Alkalawa, the capital of Gobir, lay at approximately 13.2° north, 5.5° east — a walled city which, like most large Hausa cities, lay within ten or twenty kilometres of water, with a royal compound, with quarters for the Ulama, for the merchants, for the slaves, for the lands.
After Tabkin Kwotto Yunfa had withdrawn into Alkalawa. He had sought contact with Borno in the east — the centuries-old Kanem-Borno sultanate — and requested military aid against the Fulani. Mai Ahmad, the Sayfawa ruler, had sent what he could send, but Borno was itself weakened in those years and could not put a decisive army into the field.
During 1805–1807 the Fulani encircled Alkalawa step by step. They besieged it in phases, they withdrew when they had to, they came back. The city weakened through food shortages, through the cutting of its supply routes, through the loss of the smaller Gobir villages that supplied it. For the defenders every harvest became harder to bring in. For the attackers, settled in the landscape, time grew in their favour.
In October 1808 — according to Infāq al-Maysūr on 3 Shaban 1223, which corresponds roughly to 24 September/1 October 1808 — the decisive attack was launched. Bello ﵀ himself led the Fulani troops. After days of siege the walls were stormed, breached, crossed.
Yunfa fought, according to the sources, personally to the end. He died with his weapon in his hand. His fingers — which had been taken from him after the pistol incident — would no longer have hindered him in this final struggle.
The slaughter at Alkalawa was extensive. Here we must be honest. The Fulani sources themselves, varying in tone, are not silent about the number of dead. The entire royal court was killed or captured. Male defenders of the city who did not surrender were put to the sword. Women and children were largely placed in slavery — and here, within the legitimised framework of the jihad doctrine, the rule applied that women and children of a defeated enemy could be made raqīq if the enemy men had been killed.
This sounds harsh. It is also exactly how, according to the transmitted fiqh, it went. Maliki fiqh, on the authority of the great jurists of the school, permitted this treatment in the case of a legitimate jihad against recognised enemies. The Fulani commanders applied it as the classical texts had set it out.
But we, looking back, must not avoid the question of whether the Hausa of Gobir belonged in this legal category. They were, most of them, Muslims. They had professed the shahada. They had performed the salah. The takfīr reasoning that had made them legitimate jihad targets was — however legally constructed in the Kitāb al-Farq — in its working out a process that declared as enemies people whom we today would without hesitation consider fellow believers.
The fall of Alkalawa was celebrated by the jihad movement as a triumph. Yunfa was dead. Gobir was defeated. The old system of the Hausa sarauta had ceased to exist in Gobir. On the ruins a new order would be built.
But in the smoke of Alkalawa something heavier hung. An empire that begins with the destruction of another Islamic capital, with the slave markets that would follow in the coming weeks, with the thousands of Hausa women incorporated into Fulani households — that empire carries those founding conditions with it. They would not be cleansed in a single generation.
The Battlefield Beyond the Battle
There is another side to the jihad that we must not miss, for it tells us something about what the movement did try to be.
In the conquered regions the jama’a immediately established a new administrative order. Qadis were appointed — scholars from dan Fodio ﵀'s own circle or related Fulani ulama —, courts erected, shari’a-based jurisprudence restored. The markets were reopened, albeit under controlled conditions. Zakat was levied according to Maliki criteria instead of the old jangali system. Mosques were erected or renovated. Study circles were started.
This was — however stained by the manner of conquest — a real governance project. It was not simply a transfer of power from one dynasty to another. It was an attempt to build up an Islamically regulated state in a region where such states, since the fall of Songhai in 1591, had existed only in fragmentary form. The Qur’an school became a primary social institution. The kitab — the book — became a central symbol of the new government. Dan Fodio ﵀'s texts were multiplied and disseminated.
For Muslim women of the conquered regions the situation was ambiguous. Many were placed in slavery. But for Muslim women who belonged to the jama’a itself — and for free-born women in the new regions — access to education was greater than under the old sarauta. Nana Asma’u ﵂ built up a network of female scholars and female study circles, the jaji women, who carried Islamic knowledge from village to village. This was a perceptible, almost unique achievement in the Islamic world of that time.
The moral complexity is therefore real in every direction. The same movement that oppressed women as war booty emancipated other women as bearers of scholarship. It was, like every great historical movement, not one thing.
A Movement That Had Dropped the Camel
Let us slow the camera movement for a moment. In our cinematographic support this evening we move from Degel — at 13.03° N, 5.25° E — to Gudu — 12.75° N, 4.50° E — over a distance of about 60 kilometres to the north-west. Then from Gudu to Tabkin Kwotto, another 100 kilometres or so further west into Kebbi territory. Then back, eastward, in a wide arc to Alkalawa at 13.2° N, 5.5° E.
The total theatre of the Fulani jihad — the heart region, without the satellite emirates — covers no more than 200 to 300 kilometres in either direction. An area, today, of a substantial car drive. In 1804–1808 an area in which whole kingdoms went to their knees and a new world was established.
This is the peculiarity of pre-colonial African history. It plays out in what are in absolute terms limited spaces, but it plays out with an intensity, a stake, a theological depth, that is as mature as what was occurring in Europe in those years — the Napoleonic wars are spinning in the background. The world of dan Fodio ﵀ and Yunfa is no miniature of “larger” European world events. It is a fully fledged history of its own, with its own demands, its own prices.
The Jama’a Structure as Lasting Inheritance
Let us, before we speak of the closing scenes, pause for a moment over one aspect that distinguished the Fulani jihad as a movement from many other military uprisings in West African history: the jama’a structure itself.
A jama’a, in dan Fodio ﵀'s usage, is more than “community” in the ordinary sense. It is a voluntary community bound by religious dedication, in which the shaykh is the spiritual centre and the members commit themselves to mutual support, to teaching, to upholding shari’a, and to — when it must be — armed defence of one another.
This model had existed before 1804, both in other Sufi orders and in earlier Fulani reform movements (Karamoko Alfa’s movement in Futa Jallon in 1725, Sulayman Bal’s movement in Futa Toro in 1776). What set dan Fodio ﵀'s jama’a apart was the scale and the textual richness. It had a whole library behind it. It had a dynastic structure of sons, brothers, sons-in-law. It had the network of poets who included the unlettered. And it had, after 1808, a state.
That state — Sokoto — will be the next scene. But the jama’a structure that underlies it would continue to exist long after the political centre had lost its lustre. Today, in northern Nigeria, in parts of Niger, in northern Cameroon and as far as Mali, Shehu followers still live, people who trace their silsila back to dan Fodio ﵀, Yan Shehu, whose religious identity is inseparably bound to that green flag of 1804. This is no museum time. This is a living tradition.
The Heart of the Matter
I want, before we close this scene, to say one thing once more clearly.
The Fulani jihad was no war against unbelievers. It was a war between Muslim groups, justified by a doctrine of takfīr against the authority of another Muslim group. It was juridically carefully constructed by dan Fodio ﵀ in the Kitāb al-Farq. It was in practice, inevitably, more brutally executed than its legal frameworks intended. It brought a real reform with it — better jurisprudence, higher scholarship, more systematic governance — and it also brought blood, slavery, and structural hatred between Fulani and Hausa that echoes into our own time in parts of northern Nigeria.
This is no judgement on dan Fodio ﵀ as a person. He was, by all available signs, a man of integrity, learned, devout. It is a judgement on what a jihad movement, even under such leadership, does once it touches arms. No holy cause can wage war on itself clean. Every cause, once armed, carries the weight of what is done in its name.
For us, Afro-Caribbean Muslims who listen this evening to this history, the lesson is double. First: our West African Islamic tradition is mature enough, intellectually strong enough, to face its own peaks and its own dark places. We do not have to defend it against outsiders by pretending that it was without blemish. It was the work of human beings. It was great and damaged at the same time.
Second: takfīr is a word to fear. The scholars who use it decide over life and death. Dan Fodio ﵀ was cautious. His followers, and their followers, not always. To this day we see takfīr movements in the Muslim world that have no dan Fodio ﵀ as intellectual foundation, that merely lay a xenophobia with an Islamic veneer over it. The lesson of 1804 is that takfīr as a weapon — even when theologically constructed by the most careful shaykh — gets out of control in practice. That lesson is 220 years old and still relevant.
Loading battle...
Towards Sokoto
Alkalawa has fallen. The last sarki of Gobir lies in his own palace rubble. The flag stands where it stands.
But a flag is not a state. The next question, which dan Fodio ﵀ would have to answer in the years that followed, is how to make of a successful jihad a durable Islamic government. How to keep the flag emirs under central authority. How to apply justice to the free Fulani herders, to the conquered Hausa peasants, to the slaves, to the non-Muslim border communities that now belonged to an Islamic state. How to levy taxes, dispense justice, establish education.
How, in short, to build Sokoto.
In 1809 the city was founded that would lend its name to the entire project. Its story — the establishment of the Sokoto Caliphate, the largest pre-colonial Islamic empire in Africa — is the next scene.
