TT #265 · Parshas Shemini · Aliyah 7 · Passuk 47
Chabad.org — Vayikra Chapter 11 with Rashi
English: To distinguish between the impure and the pure, and between the animal that may be eaten and the animal that may not be eaten.
Shevuot 18b.
E-Daf.com — Shevuot 18b (Tsurras Hadaf)
English: Rabbi Chiyya bar Abba said in the name of Rabbi Yochanan: Whoever recites Havdalah over wine on Saturday night will have male children, for the language of distinguishing the sacred from the ordinary is linked with “to distinguish between the impure and the pure,” followed immediately by “when a woman conceives and bears a son.”
Textual linkage — the same expression, “to distinguish,” links the two passages.
The same wording is linked to havdalah and distinguishing sacred from ordinary.