You asked
How does the 24mm f 2 8 stm compare with the 17 55mm for group portraits on a 250d?
Here is what the site says about that.
From Canon EOS 250D: Canon EOS 250D: A DSLR by Canon with a 24.1-megapixel APS-C (Canon) sensor, announced in 2019. Sold as the Rebel SL3 in North America: a very small DSLR. Specs - Maker: Canon - Mount: Canon EF - Sensor: APS-C (Canon), 22.3 x 14.9mm, crop factor 1.6 - Resolution: 24.1 megapixels - Stabilisation: none in the body; use stabilised lenses for slow shutter speeds - Announced: 2019 - Type: DSLR Focal lengths on it ...
From Meike 55mm f/1.4 STM: Meike 55mm f/1.4 STM: A prime lens by Meike for APS-C cameras, 55mm f/1.4.
Quoted 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}.