In this rule

Historical Rules · 25 September 2014

Rule 116.1a

Official source text from the 25 September 2014 Rules release

A player may cast an instant spell any time he or she has priority. A player may cast a noninstant spell during his or her main phase any time he or she has priority and the stack is empty.

Find this number in the current Rules