Prepare the pasta in boiling salted water according to the instructions on the packet. In the meantime peel garlic and cut into thin slices. Clean, wash and cut the chili into rings. Clean and wash the zucchini, cut in half lengthwise and cut into pieces.
Wash the basil, dab dry and remove the leaves. Heat the oil in a large pan. Fry the zucchini pieces for about 3 minutes, turning them over. After a good 1 minute, add garlic, chilli and basil leaves.
Drain the pasta on a sieve. Mix with zucchini mixture and arrange on plates. Arrange 2 slices of ham on each plate. Sprinkle with parmesan.