2 occurrences across the corpus

The Babylonian Talmud

Babylonian Talmud Megillah 1:342

Vayehi, as they journeyed east (Genesis 11:20) — then they said, come let us build a city. Vayehi in the days of Amrafel (Genesis 14:1) — then they made war. Vayehi when Joshua was in Jericho (Joshua 5:13) — then his [the angel’s] sword was drawn in his hand. And the Lord was [vayehi] with Joshua (Joshua 6:27) — then the children of Israel trespassed. Vayehi a certain man of Ramataim-Zophim (I Samuel 1:1) — then, for he loved Hannah but the Lord had shut up her womb.

Babylonian Talmud Megillah 1:348

Five times we find the expression: “Vayehi in the days" “Vayehi in the days of Ahashverosh” (Esther 1:1), “Vayehi in the days when the Judges judged” (Ruth 1:1), “Vayehi in the days of Amrafel” (Genesis 14:1), “Vayehi in the days of Ahaz” (Isaiah 7:1) “And it came to pass in the days of Yehoiakim” (Jeremiah 1:3).