What is written above concerning the matter? The account of Tamar: "And it was told to Tamar, saying," etc., "and she removed her widow's garments [from upon her] and covered herself with a veil" (Genesis 38:13-14). Two women covered themselves with a veil and bore twins; these are Rebekah and Tamar. Of Rebekah it is written, "and she took the veil and covered herself" (Genesis 24:65), and she bore twins, Esau and Jacob, as it is said, "and behold, there were twins in her womb" (Genesis 25:24). Tamar covered herself with a veil and bore twins, Perez and Zerah.
Two Women Who Veiled Themselves and Bore Twins
Midrash Tanchuma Buber, Vayeshev 17:1
מה כתיב למעלה מן הענין מעשה תמר, ויוגד לתמר לאמר וגו' ותסר בגדי אלמנותה [מעליה] ותכס בצעיף (בראשית לח יג יד). שתים נתכסו בצעיף וילדו תאומים, אלו הן רבקה ותמר, רבקה כתיב ותקח הצעיף ותתכס (שם כד סה), וילדה תאומים, עשו ויעקב, שנאמר והנה תומים בבטנה (שם כה כד), תמר נתכסית בצעיף וילדה תאומים פרץ וזרח.