You asked
Which lens for portraits on the leica m10?
Here is what the site says about that.
From Leica M10: Leica M10: A rangefinder by Leica with a 24-megapixel full frame sensor, announced in 2017. Slimmer than earlier digital Ms, close to the size of the film bodies. Specs - Maker: Leica - Mount: Leica M - Sensor: Full frame, 36 x 24mm, crop factor 1.0 - Resolution: 24 megapixels - Stabilisation: none in the body; use stabilised lenses for slow shutter speeds - Announced: 2017 - Type: rangefinder Focal lengths on ...
From Leica M10-R: Leica M10-R: A rangefinder by Leica with a 40.9-megapixel full frame sensor, announced in 2020. The high-resolution M10.
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}.