Historical Rules · 25 January 2019
Rule 116.1a
Official source text from the 25 January 2019 Rules release
A player may cast an instant spell any time they have priority. A player may cast a noninstant spell during their main phase any time they have priority and the stack is empty.