In this rule

Historical Rules · 1 September 2023

Rule 610.4b

Official source text from the 1 September 2023 Rules release

If a resolving spell or activated ability creates the initial one-shot effect that causes the permanent to phase out, and the specified event has already occurred before that one-shot effect would occur but after that spell or ability was put onto the stack, the permanent doesn’t phase out.

Find this number in the current Rules