Cook the pasta in well-salted water. Cook it 1-2 minutes less than the package directions, or until just shy of al dente. Reserve 1/2 cup of the pasta water.
Heat the olive oil in a heavy skillet over medium-high heat. Once hot, add the rosemary sprigs. Turn them occasionally for about 2 minutes, allowing them to become crisp. Remove to a paper towel-lined plate.
Add the Italian sausage to the skillet, breaking it apart with a spoon. Cook for about 10 minutes, or until browned and no pink remains. Remove the sausage to a plate.
Add the white wine to the skillet. Bring it to a boil and reduce to a rapid simmer until most of the liquid has evaporated.
Add the stock and cannellini beans. Cook for about 3-5 minutes, mashing some of the beans with the back of a spoon to create a creamy texture. Return the sausage to the pan.
Add the cooked pasta along with 1/2 cup of the reserved pasta water. Cook for a couple of minutes.
Stir in the spinach and parmesan cheese until the spinach wilts.
Add the red pepper flakes and butter and stir until everything is well combined.
Serve garnished with parsley, additional red pepper flakes, and the crispy rosemary sprigs.