In this section

Historical Rules · 1 May 2012

Rule 116.4

Official source text from the 1 May 2012 Rules release

If all players pass in succession (that is, if all players pass without taking any actions in between passing), the spell or ability on top of the stack resolves or, if the stack is empty, the phase or step ends.

Find this number in the current Rules