Rule 4, Section 7
ARTICLE 3. DEFENSIVE FOULS DURING LAST 40 SECONDS. In the last 40 seconds of either half, if there is a defensive foul prior to the snap while time is in, the half will end, unless the defense has timeouts remaining, or the offense chooses to have the Game Clock start on the snap.