Cook the lasagna noodles according to package instructions until al dente. Drain and set aside.
In a large bowl, mix together the ricotta cheese, half of the mozzarella cheese, grated parmesan cheese, egg, garlic powder, salt, and pepper. Stir until well combined.
In another bowl, combine the shredded chicken with the basil pesto and heavy cream. Mix until the chicken is well coated with the pesto sauce.
In a 9x13 inch baking dish, spread a thin layer of the chicken mixture on the bottom. Place 3 lasagna noodles on top.
Spread half of the ricotta cheese mixture over the noodles, followed by a layer of fresh spinach (if using). Repeat layering: add another layer of pesto chicken mixture, 3 more lasagna noodles, and the remaining ricotta cheese mixture.
Top with the last 3 noodles and the remaining chicken mixture. Sprinkle the remaining mozzarella cheese evenly over the top.
Cover the baking dish with aluminum foil and bake in the preheated oven for 25 minutes.
Remove the foil and bake for an additional 15-20 minutes, or until the cheese is bubbly and lightly golden.
Once done, let the lasagna sit for about 10 minutes before slicing. Garnish with fresh basil leaves.
Notes
Let the lasagna sit before slicing for easier serving.