No. Medicare benefits are tax free; they don’t count as income for determining filing and are not taxed. What’s more, Medicare premiums are tax deductible if you itemize your personal deductions and don’t claim the standard deduction.
On a sale of a principal residence, you may avoid tax under the rules.