Ingredients

1 small butternut squash, peeled, seeded, and cut into 3/4-inch pieces (4 cups)

1 pound cherry tomatoes

12 ounces merguez or hot Italian sausage links (about 4)

6 small shallots, peeled and halved

2 tablespoons extra-virgin olive oil

1 tablespoon balsamic vinegar

Kosher salt and freshly ground pepper

1 pound rigatoni

1/4 cup packed shredded fresh basil, plus whole leaves for serving

12 ounces mozzarella, grated (1 1/2 cups)

Preparation

Preheat oven to 450 degrees with rack in top third. On a rimmed baking sheet, toss squash, tomatoes, sausage, and shallots with oil and vinegar. Season with salt and pepper. Roast until squash is golden and sausage is cooked through, 30 to 35 minutes. Transfer sausage to a cutting board; let cool slightly, then slice into 1-inch pieces.

Cook pasta in a large pot of salted boiling water until al dente. Drain, reserving 1 cup water. Return pasta to pot with sausage, squash, and basil. Add 1/2 cup pasta water to sheet and scrape up browned bits; add to pot. Toss to coat, adding more pasta water as needed; season with salt and pepper. Set oven to broil and transfer pasta mixture to sheet. Top with cheese; broil until melted and browned in spots, 2 minutes. Top with basil leaves; serve.