You asked
Which fast prime should I add to the sigma 17 40mm f 1 8 for portraits on a canon eos r7?
For portraits, the Sigma 17-40mm covers the wide and environmental end, but it stops at about 64mm equivalent on the Canon EOS R7. A prime that starts around 80mm equivalent fills the gap. The portraits guide calls the 50mm f/1.8 the cheapest great lens in photography, and on APS-C it behaves like a classic 75-80mm portrait lens. This site's pick is the Canon RF 50mm f/1.8 STM, which is the one to buy first.
If you need more light or thinner backgrounds, the Canon RF 45mm f/1.2 STM gives about 72mm equivalent at f/1.2. The Canon RF 50mm f/1.2L USM is the premium option at 80mm equivalent. It costs more and is heavier, so choose it only if you shoot portraits often in dim light.
The Canon RF 35mm f/1.8 Macro IS STM is small and gives about 56mm equivalent. That overlaps the top of the Sigma zoom, so it adds less. It suits environmental portraits and groups better than close headshots.
Keep in mind that a faster lens and distance from the background do more for blur than stabilisation does. The aperture and background blur section explains why. Stop down to f/2.8 when two people are at different distances. For the basics of building a kit, see your first lenses, and for the camera itself see the Canon EOS R7 page.
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}.