You asked

Should I stop down to f 2 8 for group portraits when I shoot with the nikon 35mm in a small room?

Yes, for most group shots the guide's advice is to stop down to f/2.8. At f/1.4 the depth of field can be thinner than a face, so the person nearest the lens may be sharp while someone a step back goes soft. The Portraits page on aperture and background blur says to stop down to f/2.8 when people sit at different distances, and a small room usually means exactly that.

Stopping down costs light, which matters more indoors. In a small room you may need a brighter light source or a higher ISO to keep the shutter speed up. The guide doesn't cover flash or ISO in detail, so check those separately before the shoot.

Which Nikon 35mm you have changes the picture a little. The guide lists three options: the Nikon Z 35mm f/1.4, the Nikon AF-S 35mm f/1.4G, and the Nikon Z 35mm f/1.8 S. All three are listed for full-frame cameras. The f/1.4 lenses give you the option of wider apertures for a single subject, but for groups the guide's advice is the same: start around f/2.8 and check the back row. The Portraits lenses section explains that 35mm suits environmental portraits and groups, since it shows the room around the people.

A practical approach is to shoot at f/2.8, check the sharpness of the front and back rows on the screen, and open up only if the back row stays sharp.

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}.