Mustafa Bey, the brother-in-law of Muhammad Ali Pasha advanced after taking Medina.
The Meccan Shariff Ghalib ibn Musa'id, who wanted to get rid of Saudi rule and preferred Ottoman rule, sent messages to Mustafa Bey, inviting him to his towns, including Jeddah.
[1][2] In September 1813, Muhammad Ali Pasha arrived in Jeddah with a force of 2,000 infantry, 2,000 cavalry, and 8,000 camels.
He was well received by the Meccan Shariff Ghalib ibn Musa'id, but this did not save him from arrest and exile, which happened in late 1813.
You can help Wikipedia by expanding it.This article about a battle in Ottoman history is a stub.