You asked
Which fast nikon z lens works for both indoor sport and portraits on the z5?
The Nikon Z5 is a full frame camera, so it suits the guide's fast-lens advice well. This site's Z5 page gives only the sensor and announcement year, and this site does not list the Nikon Z lenses that fit it, so it can't name a specific fast Z lens here. The reasoning still holds. For indoor sport, the guide's first lenses section points to a fast standard prime. On full frame, that means a 50mm f/1.8, which lets in enough light for moving people in dim gyms. Its wide aperture also gives the background blur that the guide's first camera page describes.
For portraits, the same section suggests an 85mm, which compresses the background and flatters faces. If you want one lens for both jobs, the 50mm is the more flexible starting point, and the 85mm is the better portrait lens once you know you shoot people most.
Indoor sport is harder than portraits. The wildlife and sport page explains that moving subjects need a camera and lens that can keep up, so a fast lens matters more than stabilisation, which steadies the camera but not the player. Check the Z lens list before you buy, because the Z5 II and Z5 IIC use the same sensor size and may suit you better if you want newer autofocus.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.