Muḥammad ibn 'Abdallāh Hassan
Muḥammad Ibn Abdallāh Ibn Hassan was a Somali scholar, poet, military leader and religious, cultural and political figure who founded and headed the Dervish movement, which led a holy war against British, Italian and Ethiopian colonial intrusions in the Somali Peninsula. He was pejoratively known by the British Empire as the "Mad Mullah." In 1917, the Ottoman Empire referred to him as the "Emir of the Somali People." Due to his successful completion of the Hajj to Mecca, his assertion of being the descendant of the Islamic prophet Muhammad and his complete memorization of the Quran, his name is preluded with honorifics such as Hajji, Hafiz, Emir, Sheikh, Mullah or Sayyid. His influence on the Somali people led him to being regarded the "Father of Somali nationalism."
Early life
Mohammed Abdullah Hassan was born in 1856 in the Sacmadeeqa valley in the Haud region. His family was religious and pastoral, tracing origins from the Ogaden clan on his father's side and Dhulbahante clan on his mother's side. He was raised among Dhulbahante pastors, tending livestock and occasionally visiting the port city of Berbera with relatives. By the age of eleven, Hassan had already memorised the entire Qur'an, showing remarkable promise as a scholar and leader. He later attended Islamic learning centers across Harar, Mogadishu, and Sudan, and was taught by over seventy teachers.In the early 1890s, he completed the Hajj to Mecca, where he was deeply influenced by ʿAbd al‑Salām al‑Sālih, the founder of the Salihiyya order centered around doctrinally strict and reformist ideas. The order shaped his militant and reformist religious outlook, emphasising jihad against foreign influence and a revival of strict Islamic practices. Upon his return to Somalia in 1895, Hassan settled in Berbera where he built a mosque, and began preaching against the British colonial presence and Christian missionary activities, which he believed threatened Islam. He was particularly incensed by conversion of Somali children to Christianity and colonial demands for entry permits, which he saw as affronts to Somali autonomy.
In Berbera, the established Qadiriyya tariqa was soon challenged by the Salihiyya order, criticizing the Qadiriyya for tolerating practices they deemed were un-Islamic, such as the consumption of khat and chewing tobacco. In 1897, Ḥassan engaged in theological debates with Qadiriyya sheikhs in Berbera, including Aw Gaas, Xaaji Ibrahim Xirsi, and later Sheikh Madar, the leader of the Somali Qadiriyya. These debates focused on religious practices and interpretations, with Ḥassan advocating for the Salihiyya's stance against what he saw as the Qadiriyya's laxity. The Qadiriyya sheikhs reportedly emerged victorious in these debates, reinforcing their dominance and tarnishing Ḥassan's reputation in the eyes of local religious establishments. Both sides accused each other of heresy, deepening the rift between the two orders.
In the aftermath of the 1897 debates, Hassan was banished from Berbera by the British authorities, who were wary of unrest. He re-joined his Dhulbahante kinsmen, and two years later, in 1899, he founded the Dervish movement, based on Salihiyya principles, partly as a rebuke to the Qadiriyya's status quo in relation to colonists. His confrontation with the Qadiriyya in Berbera thus laid the groundwork for his broader anti-colonial and religious campaign.
Hassan's fierce opposition to British, Italian, and Ethiopian colonial presence was a powerful recruitment tool. He framed his jihad as a defense of Somali sovereignty and Islam against foreign Christian encroachment, appealing to clans frustrated by colonial taxes, land seizures, and missionary activities. He declared jihad and denounced British influence, galvanized support from clans like the Ogaden and some sections of the Isaaq, who had felt marginalized by colonial policies. The Dervish became a direct challenge to the Qadiriyya order’s influence, as Hassan rallied followers, particularly from the Habar Tol Jaalo and eastern Habar Yoonis clans to his cause.
The Dervish War
The news that sparked the Dervish rebellion and the 21-year disturbance according to the consul-general James Hayes Sadler was either spread or concocted by Sultan Nur of the Habr Yunis. The incident in question was that of a group of Somali children that were converted to Christianity and adopted by the French Catholic Mission at Berbera in 1899. Whether Sultan Nur experienced the incident first hand or whether he was told of it is not clear but what is known is that he propagated the incident in the Tariqa at Kob Fardod in June 1899. In one of his letters to Sultan Deria in 1899, Sayyid Hassan said that the British "have destroyed our religion and made our children their children", alluding to Sultan Nur's incident with the Roman French Mission at Berbera. The Dervishes soon emerged as an opposition of the Christian activities, defending their version of Islam against the Christian mission.Risala lil-Bimal: Letter to the Bimal
There are only one people during the Dervish struggle the Sayyid extensively asked in a letter to join his struggle. Those were the Bimal clan. His letter to the Bimal was documented as the most extended exposition of his mind as a Muslim thinker and religious figure. The letter is until this day still preserved. It is said that the Bimal thanks to their size being numerically powerful, traditionally and religiously devoted fierce warriors and having possession of much resources have intrigued Mahamed Abdulle Hassan. But not only that the Bimal themselves mounted an extensive and major resistance against the Italians, especially in the first decade of the 19th century. The Italians carried many expeditions against the powerful Bimal to try and pacify them. Because of this the Bimal had all the reason to join the Dervish struggle and by doing so to win their support over. the Sayyid wrote a detailed theological statement to put forward to the Bimal tribe who dominated the strategic Banaadir port of Merca and its surroundings.One of the Italian's greatest fears was the spread of "Dervishism" in the south and the strong Bimaal tribe of Benadir whom already were at war with the Italians, while not following the religious message or adhering to the views of Muhammad Abdullah Hassan, understood greatly his goal and political tactics. The dervishes in this case were engaged in supplying arms to the Bimaal. The Italians wanted to bring in an end to the Bimaal revolt and at all cost prevent a Bimal-Dervish alliance, which lead them to use the forces of Obbia and the Majerteen as prevention.
Ethiopia, Britain and Italy
However, soon angered by his autocratic rule, Hussen Hirsi Dala Iljech' – a Mohammed Subeer chieftain – plotted to kill him. The news of the plot leaked to Hassan. He escaped, but his maternal uncle, Aw 'Abbas, was killed. Some weeks later, Mohammed Subeer sent a peace delegation of 32 men to Hassan, but Hassan had all the members of the delegation arrested and killed. Shocked by the actions of Hassan, Mohammed Subeer sought the help of the Ethiopians and the Dervish withdrew to Nugaal.Towards the end of 1900, Ethiopian Emperor Menelik proposed a joint action with the British against the Dervish. Accordingly, British Lt. Col. Eric John Eagles Swayne assembled a force of 1,500 Somali soldiers led by 21 European officers and started from Burco on 22 May 1901, while an Ethiopian army of 15,000 soldiers started from Harar to join the British forces intent on crushing the 20,000 Dervish fighters.
On 9 January 1904, at the Jidaale plain, the British commander, General Charles Egerton, killed 1,000 Dervish. This defeat forced Sayyid and his remaining men to flee to Majeerteen country.
Around 1909, in a secret meeting under a big tree later nicknamed "Anjeel tale waa", about 400 Dervish followers decided to stop following the mullah upon receiving the expulsion letter from the head of the Tariqa, Sheikh Salah, excommunicating the mullah. Their departure weakened, demoralized and angered Sayyid, and it was at this juncture that he composed his poem entitled "The Tree of Bad Counsel".
Fight against the Qadiriyya
Despite leaving Berbera after being rebuked by the leading Sheikhs of the rival Qadiriyya school the enmity did not end. Heated poems would be exchanged between the Sayyid and prominent Sheikh Uways al-Barawi from Barawa, the leader of the 1908 Benadir revolt.Uways recited this qasida criticizing the Sayyid:
With a long response the Sayyid ended with these sharp words:
This exchange would lead to takfir or accusations of apostasy from both men and the murder of Uways by the Dervish in 1909. This ironically proved Sheikh Uways' accusation that the Sayyid deemed it lawful to spill the blood of the learned. The Sayyid would mock Sheikh Uways death with a final poem Behold, at last, when we slew the old wizard, the rains began to come!".
Consolidation
During 1909-1910, the dervish capital moved from Illig to Taleh in the heart of Nugal where the dervish built three garrison forts of massive stone work and a number of houses. He built a luxurious palace for himself and kept new guards drawn from outcast clans. By 1913, the dervish dominated the entire hinterland of the Somali peninsula building forts at Jildali and Mirashi, and at Werder in the Ogaden and Beledweyne in southern Somalia. On 9 August 1913, at the Battle of Dul Madoba, a Dervish force raided the Dolbahanta clan and killed or wounded 57 members of the 110-man Somaliland Camel Constabulary. The dead included the British officer who commanded the constabulary, Colonel Richard Corfield. Hassan memorialized this action in his poem simply entitled "The Death of Richard Corfield". In the same year, fourteen Dervishes infiltrated Berbera and fired few shots on its citizens fleeing, nonetheless causing panic. In 1914, the Somaliland Camel Corps was founded as an expanded and improved version of the constabulary.A British force was gathering against the Dervishes when they were interrupted by the outbreak of World War I. Among the British officers deployed was Adrian Carton de Wiart, who lost an eye during the campaign, and Hastings Ismay, a staff officer who was later Winston Churchill's chief military adviser.