In this rule

Historical Rules · 29 September 2017

Rule 802.4a

Official source text from the 29 September 2017 Rules release

Permalink

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

Find this number in the current Rules