Imaam Maxamuud was the Hiraab Imaam

Arab sand nigga kuyeh
The Yaaqub Abgaal took over the Mogadishu Sultanate from the Arab Muzzaffars about 1624. (Link on request.)
The founder of the Sultanate was reportedly Fakr ad-Din, who was related to Sheikh
Abadir Umar ar-Rida, the patron saint of
Harar.
https://en.wikipedia.org/wiki/Abadir_Umar_ar-Rida
The
Somali Sheekhaal clan traces descent to Sheikh Abadir ar-Rida, also known as
Fiqi Umar.
[3] Ar-Rida in turn traced his lineage to the first
caliph,
Abu Bakr (Sayid Abubakar Al-Sadiq).
[3] According to the explorer
Richard F. Burton, Fiqi Umar crossed over from the
Arabian Peninsula to the
Horn of Africa ten generations prior to 1854, along with his six sons: Umar the Greater, Umar the Lesser, the two Abdillahs, Ahmad, and Siddik.
[3]
https://en.wikipedia.org/wiki/Sultanate_of_Mogadishu
"According to the 16th century explorer
Leo Africanus, the Mogadishu Sultanate (Magadazo) was the principal city-state within the larger Adea Kingdom, located south of the
Adal Sultanate and east of the
Abyssinian Empire. It was ruled by an Islamic aristocracy, which paid tribute to the
Christian king of Abyssinia.
[28] Leo Africanus also indicates that the native inhabitants of the Adea polity were of the same origins as the denizens of the northern Adal Sultanate. They were generally of an olive complexion, with some darker. They were shirtless, wearing only
sarongs, and used
Arabic as a lingua franca. Their weaponry consisted of lances and bows and arrows. Most were Muslims, although a few adhered to heathen bedouin tradition; there were also a number of Abyssinian Christians further inland. Magadazo itself was a wealthy, powerful and well-built city-state, which maintained commercial trade with the sultanates of
Aden and
Cambay, among other kingdoms.
[29] It was surrounded by walled stone fortifications: initially, only towards the hinterland, but later also on the littoral, so as to provide a bulwark against marauding by the pagan
Cafri "
negroes" of the interior and the early Portuguese explorers, respectively.
[30]
The various Sultans of Mogadishu are mainly known from the
Mogadishan currency on which many of their names are engraved. However, their succession dates and genealogical relations are obscure.
[31] The founder of the Sultanate was reportedly Fakr ad-Din, who was related to Sheikh
Abadir Umar ar-Rida, the patron saint of
Harar.
[32] While only a handful of the pieces have been precisely dated, the Mogadishu Sultanate's first coins were minted at the beginning of the 14th century, with the last issued around the late 17th century. The following list of the Sultans of Mogadishu is abridged and is primarily derived from these mints.
[33] The first of two dates uses the
Islamic calendar, with the second using the
Julian calendar; single dates are based on the Julian (European) calendar."