Parashas Masei · Passuk 36:8 · TT note 4
Chabad.org — English translation + Rashi
Torah Temimah points to Bava Basra 111a (TT note on “מִמַּטּוֹת”).
E-Daf — Bava Basra 111a · Sefaria
English: It was taught: From where [do we know] that a son precedes a daughter in the mother’s property? From “from the tribes” — it equates the mother’s tribe to the father’s tribe; just as in the father’s tribe a son precedes a daughter, so in the mother’s tribe a son precedes a daughter.
Son precedes daughter in maternal inheritance, by analogy to paternal inheritance.
The plural “tribes” links maternal and paternal lines so that the priority of son over daughter applies equally to property inherited from the mother.