The Book of Jasher 45
8And Aphlaleth was barren, she had no offspring, and God afterward remembered Aphlaleth the wife of Dan, and she conceived and bare a son, and she called his name Chushim.
10And these are the names of the daughters of Amuram; the name of the elder was Merimah, and the name of the younger Uzith; and Naphtali took Merimah, and Gad took Uzith; and brought them to the land of Canaan, to their father's house.
14And the young woman was of a comely appearance, and a woman of sense, and she had been the wife of Malkiel the son of Elam, the son of Shem.
15And Hadurah bare a daughter unto Malkiel, and he called her name Serach, and Malkiel died after this, and Hadurah went and remained in her father's house.
16And after the death of the wife at Asher he went and took Hadurah for a wife, and brought her to the land of Canaan, and Serach her daughter he also brought with them, and she was three years old, and the damsel was brought up in Jacob's house.
17And the damsel was of a comely appearance, and she went in the sanctified ways of the children of Jacob; she lacked nothing, and the Lord gave her wisdom and understanding.
18And Hadurah the wife of Asher conceived and bare unto him Yimnah, Yishvah, Yishvi and Beriah; four sons.
22And Mechalia conceived and bare unto Benjamin Bela, Becher, Ashbel, Gera and Naaman, five sons; and Benjamin went afterward and took for a wife Aribath, the daughter of Shomron, the son of Abraham, in addition to his first wife, and he was eighteen years old; and Aribath bare unto Benjamin Achi, Vosh, Mupim, Chupim, and Ord; five sons.
23And in those days Judah went to the house of Shem and took Tamar the daughter of Elam, the son of Shem, for a wife for his first born Er.
24And Er came to his wife Tamar, and she became his wife, and when he came to her he outwardly destroyed his seed, and his work was evil in the sight of the Lord, and the Lord slew him.
25And it was after the death of Er, Judah's first born, that Judah said unto Onan, go to thy brother's wife and marry her as the next of kin, and raise up seed to thy brother.
26And Onan took Tamar for a wife and he came to her, and Onan also did like unto the work of his brother, and his work was evil in the sight of the Lord, and he slew him also.
27And when Onan died, Judah said unto Tamar, Remain in thy father's house until my son Shiloh shall have grown up, and Judah did no more delight in Tamar, to give her unto Shiloh, for he said, Peradventure he will also die like his brothers.
28And Tamar rose up and went and remained in her father's house, and Tamar was in her father's house for some time.
29And at the revolution of the year, Aliyath the wife of Judah died; and Judah was comforted for his wife, and after the death of Aliyath, Judah went up with his friend Hirah to Timnah to shear their sheep.
30And Tamar heard that Judah had gone up to Timnah to shear the sheep, and that Shiloh was grown up, and Judah did not delight in her.
31And Tamar rose up and put off the garments of her widowhood, and she put a vail upon her, and she entirely covered herself, and she went and sat in the public thoroughfare, which is upon the road to Timnah.
32And Judah passed and saw her and took her and he came to her, and she conceived by him, and at the time of being delivered, behold, there were twins in her womb, and he called the name of the first Perez, and the name of the second Zarah.