In a bowl soak beans in water to cover by 2 inches overnight or quick-soak and drain. In a heavy kettle (at least 5 quarts) simmer ham hocks and wheat berries in water and broth, covered, 1 hour. Add drained beans and bring to a boil. Reduce to a simmer and skim froth. Add onions, carrots, celery, bay leaf, and rosemary and simmer, covered, until beans are tender, about 1 hour. Transfer ham hocks with a slotted spoon to a cutting board. Discard fat and bones and chop meat and set aside.
In a blender or food processor puree 3 cups of the soup. Stir puree into soup with the chopped meat and the escarole and simmer, uncovered, 15 minutes. Stir in garlic and salt and pepper to taste. Soup may be made 4 days ahead (cool uncovered before chilling covered.)
Wheat berries are available at natural foods stores and some specialty foods shops.
Recipe courtesy of Gourmet Magazine