You asked

What lens should I pair with a leica m body if I want autofocus for portraits?

The guide can't point you to a Leica M lens with autofocus. Every Leica M lens it covers is manual focus, and the Leica M mount page notes that M lenses are manual-focus lenses on any mirrorless body. For portraits, though, the lens matters more than the body, so manual focus is workable if you're willing to focus by hand.

Two lenses on the site suit portraits:

The Leica M EV1 is the Leica body the guide mentions for focusing M lenses through a built-in electronic viewfinder. That helps with manual focus, but it doesn't add autofocus. The portraits guide makes the broader case that a good portrait lens beats an expensive body with a kit zoom.

If autofocus is essential, the guide can't recommend an M lens for it. You'd need a different system, and the guide can't say which one from this material.

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