You asked

How does a 35mm f 1 8 prime compare with the 24 105 for indoor portraits on a canon eos r100?

The Canon RF 35mm f/1.8 Macro IS STM is the better pick for indoor portraits on the Canon EOS R100. On this APS-C body it frames like 56mm, which suits the environmental portraits the portraits guide describes: someone at a table or a window, with the room still visible. Its f/1.8 aperture gathers much more light than a zoom at f/2.8, and that matters most indoors. It also gives softer backgrounds when you move the subject away from the wall. What it gives up is reach. You step closer or further to frame, and you can't zoom in on a face from across the room.

The Canon RF 24-105mm f/2.8L IS USM Z covers the range from about 38mm to 168mm on this body, so you can change framing without moving. It's the zoom to choose here because its f/2.8 is the widest constant aperture in the 24-105 family. The f/4-7.1 IS STM and f/4L IS USM versions are much darker, and indoors they will push you to high ISO or slow shutter speeds, so they are weaker choices for this job.

The R100 has no body stabilisation, so the lens's IS helps with slow shutter speeds. It does not freeze people who move, and that's why aperture matters more here. For the cheapest route to a fast standard look, the 50mm f/1.8 STM behaves like about 80mm on this body and is a classic portrait lens.

This answer doesn't quote lens prices; check the lens pages before buying.

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