There is no hard rule that says you have to use a specific focal length for a type of shot.
Part of it is the field of view, you will need to get everyone in the frame and if you are limited for space, then you will need a wider lens. If you are outdoors, you can usually just back up but not always.
Also, as the focal length changes, the perspective changes. It's easy to see this at the extremes. If you use a wide angle lens and fill the frame with your subjects...there will probably be some distortion. A wide angle will accentuate the distance between things...like the distance from the front of a person's nose to the back of it...making it look like they have a huge nose.
When you use a telephoto, it tends to compress the distance between things...which usually is best for shooting people.
So my suggestion would be to use your longer lens and back up. Unless of course, you want to get some distortion or accentuate something...like a pregnant belly.
but with three people, I want to make sure and get them all in clear focus.
While this is affected some what by the focal length, it's affected much more by the lens aperture that you are using. A wider aperture (lower F number) will give you a more shallow Depth of Field (DOF). So for group shots, I like to shoot with a smaller aperture...maybe F8 or F11 or F16. This makes it harder to blur the background, if that's something that you want to do.