Cook the pasta in salted water until al dente. Finely chop the onion and sauté in a tablespoon of butter until soft. Add the washed and drained spinach and let it collapse. Mash the garlic and add to the spinach, season with salt, pepper and nutmeg. Cut the Parma ham into fine strips. Pour pasta, ham and the slightly squeezed spinach into a greased baking dish and mix. Whisk the eggs, stir in the cream and the grated parmesan. Pour the sauce over the casserole and sprinkle flakes of butter on top. Baked in the preheated oven for approx. 30 minutes.