How to Save Courgette Seeds
Courgettes are usually Cucurbita pepo. They can cross with compatible pumpkins, pattypans and other C. pepo types. Choose several healthy, true-to-type plants. Isolate them from compatible varieties or use controlled hand-pollination and bagging to maintain a named variety.

A cut marrow showing the seeds in the centre. Photo by Dbfirs, CC BY-SA 4.0.
Mature the fruit
Leave selected fruit on the vine until it becomes a fully mature, hard-skinned marrow. Allow further curing after harvest where appropriate.
Clean and store
Cut the fruit open, scoop out the seeds, wash away the pulp and dry the seeds in a single layer with good airflow. Pack fully dried seeds in labelled containers. Record the variety and any isolation or pollination method.