[(Genesis 34:1:) AND DINAH THE DAUGHTER OF LEAH WENT OUT.] This is what Scripture says (Ezekiel 16:44): "BEHOLD, EVERYONE WHO USES PROVERBS WILL USE THIS PROVERB ABOUT YOU, SAYING: AS THE MOTHER, SO HER DAUGHTER." Our master asked Rabbi Hiyya: What do you say [is the meaning of] "as the mother, so her daughter"? He said to him: As the altar, so its priests. Rabbi pressed him much. He said to him: Tell the truth, what do you say? He said to him: As the prince, so the generation.
Like Mother Like Daughter and the Proverb on Dinah Going Out
Midrash Tanchuma Buber, Vayishlach 14:1
[ותצא דינה בת לאה]. זש"ה הנה כל המשל עליך ימשול לאמר כאמר בתה (יחזקאל טז מד), רבינו שאל לר' חייא מה אתם אומרים כאמה בתה, א"ל כמזבח כן כהניו, הטריח עליו רבי הרבה, א"ל אמור אמת מה אתם אומרים, א"ל כנשיא כן הדור.