No: Germany's Residence Act (Aufenthaltsgesetz) provides no residence permit for buying property or for passive investment — whatever the amount. Nor does ownership extend a stay: without a residence permit, a short visit is limited to 90 days in any 180-day period. A permit is granted only for a purpose the Act names, such as employment, self-employment, study or family reunification; income from a property can merely help to show that you have enough to live on.
What to check:
• Establish whether your nationality requires a visa for travel, and whether EU freedom of movement applies to you.
• Define the purpose of stay you can genuinely substantiate: work, business, study, family.
• For self-employment, prepare a business plan and proof of financing and experience — and, if you are over 45, of retirement provision.
• Gather proof of means of subsistence and health insurance, including from rental income.
• Consult an immigration lawyer before buying, if relocating is part of your plan.