It is well-known that,
a) The Medieval and Early Modern eras saw extensive seafaring by Muslims, such as Arabs, Swahilis, and Malays, and Islam forbids drinking alcohol; and
b) In the Age of Sail, European ship crews drank large amounts of alcohol, which preserved better than fresh water on long ocean voyages.
My question is, what did Arab and other Muslim sailors going between Arabia and China drink? What did ships carrying pilgrims to the Hajj give their passengers to drink?