In this rule

Historical Rules · 2 February 2024

Rule 506.4a

Official source text from the 2 February 2024 Rules release

Permalink

Once a creature has been declared as an attacking or blocking creature, spells or abilities that would have kept that creature from attacking or blocking don’t remove the creature from combat.

Find this number in the current Rules