In this rule

Historical Rules · 15 July 2011

Rule 116.1a

Official source text from the 15 July 2011 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