In this rule

Historical Rules · 17 November 2023

Rule 703.4q

Official source text from the 17 November 2023 Rules release

Permalink

Immediately after the cleanup step begins, if the active player’s hand contains more cards than their maximum hand size (normally seven), they discard enough cards to reduce their hand size to that number. See rule 514.1.

Find this number in the current Rules