Heat the butter in a large frying pan over medium heat and cook the onion and garlic for 2 minutes, or until soft. Increase the heat, add the mushrooms and cook for 5 minutes, or until the mushrooms are soft and most of the liquid has evaporated. Cool for 10 minutes.
Put the almonds in a food processor and chop roughly. Add the mushrooms and pr