Historical Rules · 19 January 2018
Rule 116.1a
Official source text from the 19 January 2018 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.