You asked
Which fast 50mm lens for the leica m d works best under 300 euros?
The site has no page for the Leica M D, so the guide can't confirm which lenses fit it or what it costs. The Leica lenses it does list are all M-mount lenses for full-frame cameras, and the M D is a Leica M-mount body, so these are the ones to look at.
For a fast 50mm, the closest match is the Leica Summicron-M 50mm f/2. The page calls it the classic small 50mm and cheaper than the APO version. An f/2 lens gathers more light than the f/2.8 option, which matters for low light and moving subjects. The Leica Noctilux-M 50mm f/1 is faster still, but it's a specialist lens for very dim light, and its page gives no price. The Leica Elmar-M 50mm f/2.8 is collapsible and compact, but it's the slowest of the three, so it's the weakest choice for dim scenes.
None of these pages gives a price, so the guide can't say whether any of them comes in under 300 euros. Don't assume a price from the lens's age or reputation. Check the current price at a shop before you buy. The guide's general advice is to put a fast 50mm on your camera for people and low light; see your first lenses.
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}.