You asked

Which lens for portraits on the leica m9 p?

For portraits on the Leica M9-P, the guide's advice is that the lens matters far more than the body, and light matters more than either. The M9-P is a full-frame rangefinder with no in-body stabilisation, so a fast lens helps keep shutter speeds up indoors. Here are four picks from the Leica M9-P lens list:

Whichever lens you pick, follow the portraits guide: face a window, turn the subject slightly, and expose for the face. The light section explains why this beats any lens upgrade. For a first lens, the 50mm options are the most flexible. Choose the 75mm or 90mm if you shoot from further away.

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