In this section

Historical Rules · 18 November 2022

Rule 117.4

Official source text from the 18 November 2022 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