In this rule

Historical Rules · 8 July 2022

Rule 802.4a

Official source text from the 8 July 2022 Rules release

Permalink

A defending player can block only with creatures they control. Those creatures can block only creatures attacking that player or a planeswalker that player controls.

Find this number in the current Rules