You asked
Best camera for the nikon z 40mm f 2?
Here is what the site says about that.
From Nikon Z 40mm f/2: Nikon Z 40mm f/2: A prime lens by Nikon for Full frame cameras, 40mm f/2. Small, cheap and good: Nikon's everyday prime. Specs - Maker: Nikon - Focal length: 40mm (prime) - Maximum aperture: f/2 - Made for: Full frame sensors - Mounts: Nikon Z - Stabilised: no - Autofocus: yes What it frames like - On full frame (Nikon Z): as marked, 40mm. - On APS-C (Nikon Z): like 60mm on full frame; ...
From Your first camera: How to split the budget: Spend roughly as much on lenses as on the body, or more. A modest body with a great lens takes better pictures than a flagship body with a cheap zoom. A sensible first kit: 1. The body with its kit zoom, for everything. 2. A cheap fast prime, a 50mm f/1.8 or its APS-C equivalent, for people and low light. See lenses. 3. A spare battery and a decent memory ...
Quoted from this site's pages.