You asked

Is stopping down to f 2 8 with a cheaper lens better than the noctilux for two people at different distances?

For two people at different distances, the guide's answer is to stop down to f/2.8 rather than use a very fast lens. At f/1.4 and wider, the depth of field can be thinner than a face, so one person is likely to be sharp while the other goes soft. At f/2.8 there is enough depth to hold both. The Portraits page explains this.

The Noctilux lenses on this site are fast Leica primes for full-frame cameras. The Noctilux-M 50mm f/1.2 ASPH is a remake of the 1966 original, and the Noctilux-M 35mm f/1.2 ASPH is the first 35mm Noctilux. Their speed gives thin, dreamy separation for one subject, which is the wrong tool for keeping two faces sharp at different distances. The site's pages for these lenses don't give prices, so check their catalogue pages for current figures.

A cheaper f/2.8 lens is the better choice for this shot, and it's easier to use. This answer doesn't name a specific one, so pick a lens that fits your camera's mount. You can also help by placing the two people at similar distances from you, or by moving them further from the background, which keeps the background soft even at f/2.8.

Sensor size matters too. At the same framing and f-number, a smaller sensor gives deeper depth of field, so the Sensor sizes page is worth reading if you're shopping for a camera.

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