You asked

What lens would pair well with an x t5 for dim room portraits and also cover wider group shots?

For dim room portraits and wider group shots on the Fujifilm X-T5, the guide looks first at fast apertures. The X-T5's in-body stabilisation steadies the camera, but it does nothing for a moving subject, so a bright lens matters more here. The X-T5 page lists the lenses that fit its X mount.

The guide's first pick is the Fujifilm XF 35mm f/1.4 R. It frames like 52mm on full frame, which suits head-and-shoulders portraits, and f/1.4 gives you room to work in dim light. The portraits guide notes that a standard-to-short tele view flatters faces, and this lens gives that without a bulky zoom. It can't fit a large group, so it's a portrait lens first.

For wider groups, the guide suggests the Fujifilm XF 16mm f/1.4 R WR. It frames like 24mm on full frame, wide enough to fit people in a room and still show where they are. Its f/1.4 aperture works in dim light. Stay back from the group, because very wide lenses exaggerate whatever sits closest to the camera.

If you'd rather carry one lens, the Fujifilm XF 16-55mm f/2.8 R LM WR covers roughly 24-82mm on full frame. It's slower than the primes, but f/2.8 across the zoom is still a good match for dim rooms, and it covers portraits and wider group frames with one lens.

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