In this section

Historical Rules · 20 September 2024

Rule 117.4

Official source text from the 20 September 2024 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