In Italy we have something like that, that should translate to usucaption[0] or acquisitive prescription. The term for real estate is 20 years, for other types of property it is shorter.
Whereas in the common law, it being the f** common law, there's no fixed term and it's just "what does the judge think is in line with similar past cases".