In this rule

Historical Rules · 5 October 2018

Rule 802.4a

Official source text from the 5 October 2018 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