There are several passages that clearly say that the tribe of the son is the tribe of the father.
I saw only below the passage that seems to say that the mother's tribe was passed onto her son.
Tanakh does not share any details but I am asking if
- Did the mother's tribe pass on to Attai.
- Did the Egyptian Slave convert to Judaism and there by assimilated into the tribe of Judah and there by Attai's tribe continues in the tribe of Judah.
1 Chronicles 2:34 And Sheshan had no sons but daughters, and Sheshan had an Egyptian slave named Jarha. 35 And Sheshan gave his daughter to Jarha his slave for a wife, and she bore him Attai. 36 And Attai begot Nathan, and Nathan begot Zabad.