Targum Psalm 104:26
24 How many are your works, O Lord! You have made all of them in wisdom; the earth is full of your possessions. 25 This sea is great and broad in extent; creeping things are there without number, both tiny creatures and large. 26 There the ships go about, [and] this Leviathan you created for the sport of the righteous at the supper of his dwelling place. 27 All of them rely on you to give their food in its time. 28 You will give it to them, and they gather it; you will open your hand, and they are satisfied with goodness.
2 Baruch 29:4
Syriac Apocalypse of Baruch2 For at that time I will protect only those who are found in those self-same days in this land. 3 And it shall come to pass when all is accomplished that was to come to pass in those parts, that the Messiah shall then begin to be revealed. 4 And Behemoth shall be revealed from his place and Leviathan shall ascend from the sea, those two great monsters which I created on the fifth day of creation, and shall have kept until that time; and then they shall be for food for all that are left. 5 The earth also shall yield its fruit ten thousandfold and on each vine there shall be a thousand branches, and each branch shall produce a thousand clusters, and each cluster produce a thousand grapes, and each grape produce a cor of wine. 6 And those who have hungered shall rejoice: moreover, also, they shall behold marvels every day.
Notes and References
"... This tradition of beholding the monsters alive in the battle, before consuming their dead bodies, may also be related to the revelation and acquisition of Behemoth and Leviathan’s mysteries. In this respect it is not coincidental that the early pseudepigraphical accounts that detail the traditions about the messianic feasting on Leviathan and Behemoth describe the monsters’ apparition in the messianic time as revelation. Thus, for example, 2 Bar 29:3-4 juxtaposes the appearance of the Messiah with the revelation of Behemoth and Leviathan. Although 2 Baruch does not mention the monsters’ fight, later Jewish traditions often suggest that at the end of times Behemoth and Leviathan will be revealed to the righteous in their battle with each other. In such an arrangement, a disclosure of eschatological secrets will take the form of a spectacle when the righteous are entertained by the fighting monsters. The traces of this motif can be found in various rabbinic corpora, including targumim, midrashim, and piyyutim. Thus, Targum on Psalms 104:25-26 states that God created Leviathan in order to sport at the banquet of the righteous ..."
Orlov, Andrei Fight between Leviathan and Behemoth in the Messianic Time (pp. 1-12) Marquette University, 2022