You asked

Which lens is best for portraits on a leica m body with autofocus?

The guide can't name an autofocus lens for a Leica M body. The Leica M lenses it covers are all manual focus, and the M mount page describes M lenses as manual-focus lenses that adapt to mirrorless bodies. For portraits, though, the lens matters more than the body, so the guide's manual-focus picks still work.

The Leica M lenses that suit portraits are:

The Leica Elmar-M 24mm is too wide for flattering portraits, so skip it here.

On the body side, the M EV1 lets you focus M lenses through its built-in electronic viewfinder. For eye autofocus, the portraits page explains how current mirrorless cameras find and track the nearest eye, which keeps wide apertures sharp. The guide's catalogue doesn't offer a Leica M lens with that feature.

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