Dice the onion and bell pepper and mince the garlic. Drain the beans into a colander and rinse them under cold water for 30 seconds.
Heat the olive oil in a 12-inch / 30 cm oven-safe skillet over medium heat. Cook the onion, pepper, and salt for 6 to 7 minutes until soft and the onion looks translucent. Stir in the garlic, smoked paprika, cumin, and pepper flakes and cook for 1 minute until fragrant.
Pour in the crushed tomatoes and add the beans. Simmer over medium-low heat for 8 minutes, stirring now and then, until a spoon dragged across the bottom leaves a trail that closes slowly. Heat the oven to 200 C / 400 F while it simmers.
Stir in the spinach a handful at a time and cook for about 2 minutes until wilted. Stir in the lemon juice and black pepper, then taste and add more salt if needed.
Press 8 shallow wells into the sauce with the back of a spoon. Crack each egg into a small cup and slide it into a well.
Bake on the middle rack for 10 to 12 minutes until the whites are set and opaque and the yolks still wobble. Start checking at 10 minutes, because the hot skillet keeps cooking the eggs after it leaves the oven.
Scatter the feta and parsley over the top. Serve straight from the skillet within 5 minutes, while the yolks are still soft.