Dajaj bil-Lawz (Algerian Chicken with Almonds)

3-4 lbs of chicken pieces
4 T butter
4 onions, diced
2 cloves garlic, crushed
Salt and pepper
4 T almonds, ground
2 T chopped green onions
Fry the chicken in the butter in a saucepan until browned, add the onions and garlic and fry until onions are soft. Add the salt and pepper and enough water to cover by one inch. Simmer for about 45 minutes.
In a small bowl, mix the almonds with enough water to make a soft paste. Add this very slowly to the chicken, stirring constantly. Simmer for a few minutes, then remove from h eat and place on a platter. Sprinkle with green onions. Serve with fried or mashed potatoes.