Investors & landlords

Could you please point me to where exactly the IRS says that it's the FIRST 5 years only (vs. ANY 5 years)?