In this rule

Historical Rules · 14 April 2023

Rule 704.5j

Official source text from the 14 April 2023 Rules release

Permalink

If two or more legendary permanents with the same name are controlled by the same player, that player chooses one of them, and the rest are put into their owners’ graveyards. This is called the “legend rule.”

Find this number in the current Rules