In the Diaspora, this poem is for the first night:
And so, it happened at midnight!
Then, many miracles did You wondrously do at night, at the first of the watches, this night. A righteous convert did You make victorious when it was divided for him at night [referring to Avraham in his war against the four kings - Genesis 14:15 - and it happened at midnight!
You judged the king of Gerar [Avimelech] in a dream of the night; You frightened an Aramean [Lavan] in the dark of the night; and Yisrael dominated an angel and was able to withstand Him at night [Genesis 32:25-30], and it happened at midnight!
You crushed the firstborn of Patros [Pharaoh, as per Ezekiel 30:14] in the middle of the night, their populace they did not find when they got up at night; the attack of the leader of Charoshes [Sisera] did You sweep away by the stars of the night [Judges 5:20], and it happened at midnight!
The blasphemer [Sancheriv, whose servants blasphemed when trying to discourage the inhabitants of Jerusalem] counseled to wave off the desired ones, You trounced his corpses at night [II Kings 19:35]; Bel and his pedestal were bent in the pitch of night [in Nevuchadnezar's dream in Daniel 2]; to the man of delight [Daniel] was revealed the secret visions at night, and it happened at midnight!
The one who got drunk [Balshatsar] from the holy vessels was killed that very night [Daniel 5:30], the one saved from the pit of lions [Daniel] interpreted the scary visions of the night; hatred was preserved by the Agagite [Haman] and he wrote books at night, and it happened at midnight!
You aroused your victory upon him by disturbing the sleep of night [of Achashverosh], You will stomp the wine press for the one who guards from anything at night [Esav/Seir, as per Isaiah 21:11]; He yelled like a guard and spoke, "the morning has come, and also the night," and it happened at midnight!
Bring close the day which is not day and not night [referring to the end of days - Zechariah 14:7], High One, make known that Yours is the day and also Yours is the night, guards appoint for Your city all the day and all the night, illuminate like the light of the day, the darkness of the night, and it happened at midnight!