In this rule

Historical Rules · 4 October 2019

Rule 601.2e

Official source text from the 4 October 2019 Rules release

Permalink

The game checks to see if the proposed spell can legally be cast. If the proposed spell is illegal, the game returns to the moment before the casting of that spell was proposed (see rule 722, “Handling Illegal Actions”).

Find this number in the current Rules