Then the caliph forgot all the happy hours he had spent with the dervish, forgot that he had loved him even as a brother, and remembered only that the dervish was trying to interfere in his plan. He flew into a rage and declared that Omar should be exiled from Mocha, and that a price would be upon his head should he ever return. Never again should he sit at the royal banquet table. Never again should he pass through the streets amid cries and calls of endearment. He should live in the wilds like a hunted creature and get his food as the birds of the field get theirs.
So out from the city that he loved went the wise and righteous dervish. He took the camel trail into the desert, and after a time came to an oasis where he stayed. A miserable existence he had there, because few food plants grew in the spot. Sometimes a caravan came by, and a merchant or camel driver pitied him and gave him dates or milk. But sometimes he had nothing to eat, and always his meals were so scanty that he grew thin and weak and haggard.
One day—he had been a long time without food and was faint from hunger—he found some berries growing on a tree beside a spring. They were so bitter that he could not eat them; so he tried the experiment of roasting them over the coals. This made them more palatable, but still they were viciously hard. Hadji Omar was so hungry that he was willing to do any amount of work to get food; so he boiled the berries, hoping they would soften. Still they were hard, but he managed to eat a few of them and drank of the water. His hunger and fatigue seemed gone, and he realized he had made a great discovery.
Hastening back to the city, he told the guard his story and was allowed to go into the presence of the caliph. There he produced some of the roasted berries, which were boiled according to his direction, and the governor and council drank of the water. They pronounced it a kingly beverage, and the decree went forth that Hadji Omar was to go free.
Thereafter he lived with the caliph, who loved and trusted him as before and led a more exemplary life because of the influence of the goodly dervish.
Hadji Omar was honored during his remaining years, and after his death was revered as a saint, not only because he was wise and righteous, but because he discovered to Arabia the beverage of the coffee berry.