Kesuvos10: 5
מִי שֶׁהָיָה נָשׂוּי אַרְבַּע נָשִׁים, וּמֵת — הָרִאשׁוֹנָה קוֹדֶמֶת לַשְּׁנִיָּה, וּשְׁנִיָּה לַשְּׁלִישִׁית, וּשְׁלִישִׁית לָרְבִיעִית. הָרִאשׁוֹנָה נִשְׁבַּעַת לַשְּׁנִיָּה, וּשְׁנִיָּה לַשְּׁלִישִׁית, וּשְׁלִישִׁית לָרְבִיעִית, וְהָרְבִיעִית נִפְרַעַת שֶׁלֹּא בִשְׁבוּעָה. בֶּן נַנָּס אוֹמֵר: וְכִי מִפְּנֵי שֶׁהִיא אַחֲרוֹנָה נִשְׂכָּרָה? אַף הִיא לֹא תִפָּרַע אֶלָּא בִשְׁבוּעָה.  הָיוּ יוֹצְאוֹת כֻּלָּן בְּיוֹם אֶחָד — כָּל הַקּוֹדֶמֶת לַחֲבֶרְתָּהּ אֲפִלּוּ שָׁעָה אַחַת — זָכְתָה. וְכָךְ הָיוּ כוֹתְבִין בִּירוּשָׁלַיִם שָׁעוֹת.  הָיוּ כֻלָּן יוֹצְאוֹת בְּשָׁעָה אַחַת, וְאֵין שָׁם אֶלָּא מָנֶה — חוֹלְקוֹת בְּשָׁוֶה.
[If] one was married to four wives, and he died, the first takes precedence over the second, the second over the third, and the third over the fourth. The first swears to the second, the second to the third, and the third to the fourth, but the fourth is paid without an oath. Ben Nannas says: Should she profit because she is last? She, too, is not paid without an oath.  [If] they were all written on one day, whichever one precedes the other by even one hour acquires [the right to be collected first]. Thus, in Jerusalem, they would record the hours.  [If] they were all written in the same hour, and there is only a hundred, they share equally.