In this rule

Historical Rules · 5 June 2017

Rule 307.5a

Official source text from the 5 June 2017 Rules release

Similarly, if an effect checks to see if a spell was cast “any time a sorcery couldn’t have been cast,” it’s checking only whether the spell’s controller cast it without having priority, during a phase other than his or her main phase, or while another object was on the stack.

Find this number in the current Rules