01 - Preheat oven to 375°F.
02 - Heat olive oil in a large skillet over medium heat. Add onion and sauté until soft, about 3 minutes. Stir in garlic and cook 30 seconds more.
03 - Add spinach, season with salt, pepper, and nutmeg, and cook until wilted, about 2 minutes.
04 - Remove from heat and transfer the spinach mixture to 4 lightly greased ramekins or a single baking dish, spreading evenly.
05 - Make a small well in the center of each ramekin. Crack an egg into each well.
06 - Drizzle each serving with about 1 tbsp heavy cream and sprinkle generously with grated Parmesan.
07 - Bake for 12–15 minutes, or until the egg whites are just set and yolks are still slightly runny.
08 - Let cool for 2 minutes before serving.