2 occurrences across the corpus

The Babylonian Talmud

Babylonian Talmud Berakhot 3:280

Rab Huna also said : If a man forgot and entered a privy wearing his Tefillin, he should place his hand over them until he finishes. Until he finishes, dost imagine? Nay, it is as Rab Nahman b. Isaac has said : Until he finishes the first discharge. Let him, then, stop at once and stand up! [No,] because of [the saying of] Rabban Simeon b. Gamaliel ; for there is a teaching : Rabban Simeon b. Gamaliel says : If the fecal discharge is kept back it causes dropsy, and if the fluid in the urinary duct is kept back it causes jaundice.

Babylonian Talmud Berakhot 9:340

But Rab Safra thought that it was dangerous; for there is a teaching : Rabban Simeon b. Gamaliel says : If the fecal discharge is kept back it causes dropsy, and if the fluid in the urinary duct is kept back it causes jaundice.