Heat olive oil in a skillet over medium heat.
Add chopped shallots and cook until softened, about 1 minute.
Stir in garlic and cook for 30 seconds.
Add thyme, lentils, balsamic vinegar, salt, and pepper. Mix gently.
Add tomatoes and spinach, reduce heat, cover, and cook for 5 minutes until wilted.
Create small wells in the lentil mixture and add spoonfuls of ricotta.
Cover and cook for 2 minutes until slightly warmed.
Garnish with fresh basil and serve your Herbed Lentil Skillet with Spinach & Ricotta.