In this section

Historical Rules · 16 July 2010

Rule 116.4

Official source text from the 16 July 2010 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