Here is From ilig treaty or Pestalozza agreement between Sayid Mohamed Abdollah Hasan and Italy:
"Now, O Pestalozza, you and Abdallah Sheri, are delegated by me and to you I bestow the power for our cause. If you ask me pacification, I accept the peace and mutual trust – and I promise to stop the discord and the war in the interior. I, the Derwishes and all my people will molest no one, neither Mijerteyns, nor the people of Yusuf Ali, neither the English nor their dependents. I and my people are the people and dependents of the Government of Italy if it favours us and cools our heart (the text says our stomach or our desire); we will be under its flag. We only request that the Government of Italy allow(s) us to build a country at a point which it will consider suitable, from Gabbee to Garad."
— Declaration by the Mullah to Pestalozza, Ilig, I7 October 1904
Dervish wanted a protectorate under the italians. They were later given weapons from them and access to coast. If it was a crusade against non muslim and was a majority darud movement or even a unification of somali movement, why not fight italians who controlled all Darud land in Somalia and Ethiopia and majority of Somalian lands. Looks like dervishes was power hunger movement