“Mocha” was the name of a Middle Eastern city, to which a sheikh, Alì Ben Omar, was travelling to. Overcome by tiredness, a bird gave him some berries to revive himself.
They were of course, coffee beans.