Peel and finely chop the onion and garlic. Heat the fat in a saucepan. Sauté garlic and onion in it. Add spinach and stock, bring to the boil and simmer over low heat for about 11 minutes. Cook the eggs in boiling water for 7-8 minutes until soft. Let gnocchi simmer in 2 litres of boiling water for about 2 minutes.
Drain and let drain. Add gnocchi and grated parmesan to the spinach and fold in. Drain eggs, quench, peel and halve. Arrange gnocchi in cream spinach sauce, halved eggs and ham on plates. Garnish with parmesan