In this rule

Historical Rules · 14 June 2019

Rule 802.4a

Official source text from the 14 June 2019 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