Pat shrimp dry and season lightly with salt and pepper.
In a large skillet over medium heat, warm olive oil. Add shallot and sauté for 2–3 minutes until translucent. Add garlic and red pepper flakes; cook another 30 seconds until fragrant.
Add shrimp to the skillet in a single layer. Cook 1–2 minutes per side, just until pink and opaque. Remove and set aside.
Pour in broth and scrape up any brown bits from the pan. Stir in the beans and let them simmer for 2–3 minutes to soften slightly.
Add the cream and Parmesan, stirring until smooth and slightly thickened.
Add spinach and stir until wilted. Return shrimp to the pan and toss to coat.
Squeeze in lemon juice, adjust seasoning, and let it all simmer together 1–2 minutes.
Spoon over warm rice. Top with parsley and a little extra lemon zest or Parmesan if desired.