In this rule

Historical Rules · 25 January 2019

Rule 506.6a

Official source text from the 25 January 2019 Rules release

Permalink

A spell that states it may be cast "only before (or after) attackers are declared" is referring to the turn-based action of declaring attackers. It may be cast only before (or after) the declare attackers step begins, regardless of whether any attackers are actually declared. (See rule 508.)

Find this number in the current Rules