Parshas Shemos · Passuk 1:16
Chabad.org — English translation + Rashi
Torah Temimah points to Sotah 11b (verified).
English: “If it is a son\ldots” — R’ Chanina said: He transmitted to them a major sign: a male faces downward, a female faces upward.
In context: See the cited source for the full section.
Category D — Conceptual / logical / legal / theological / ethical inference.
Method — practical inference. The midwives were given physical signs intended to identify a child's sex at birth.
Chazal teach that Pharaoh attempted to make the killing possible at the earliest identifiable moment by giving the midwives clear physical markers of sex.