Parshas Naso · Passuk 5:27
And when he hath made her drink the water, then it shall come to pass, if she be defiled, and have acted unfaithfully against her husband, that the water that causeth the curse shall enter into her and become bitter, and her belly shall swell, and her thigh shall fall away; and the woman shall be a curse among her people.
Torah Temimah points to the classical source in Sefaria TT segment 3 (Planning2).
Sefaria — Torah Temimah on Numbers 5:27.3
Category B — Public consequence of guilt.
She becomes a curse among her people.