You asked

Which 35mm lens suits a leica m body if I want autofocus?

None of the 35mm lenses for the Leica M mount in this guide has autofocus. All three are manual focus, so the guide can't point you to an autofocus 35mm for an M body. The Leica M mount page lists the lenses that fit it.

If you can focus by hand, these are the three 35mm options:

The guide doesn't list prices for these three lenses, so check the shops before deciding. If autofocus matters more than the Leica look, the guide's lenses page notes that Sigma, Tamron, Samyang and Viltrox make lenses for many mounts, but check that the maker supports the mount and the autofocus features you want.

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