In this rule

Historical Rules · 16 January 2016

Rule 703.4m

Official source text from the 16 January 2016 Rules release

Immediately after the cleanup step begins, if the active player’s hand contains more cards than his or her maximum hand size (normally seven), he or she discards enough cards to reduce his or her hand size to that number. See rule 514.1.

Find this number in the current Rules