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