Parshas Kedoshim · Passuk 19:32
Chabad.org — English translation + Rashi
Torah Temimah on Vayikra 19:32 · Kiddushin 33a · YD 244
Rise and honor — Might one stand before him in the privy or bathhouse? Scripture pairs rising with honor — only in a place where honor is appropriate.
Classical derasha (TT)
No standing-obligation in undignified inner bath areas; outer clothed areas may still require it.