עבודה זרה ה:ו · Avodah Zarah 5:6

בַּלֶּשֶׁת גּוֹיִם שֶׁנִּכְנְסָה לָעִיר בִּשְׁעַת שָׁלוֹם, חָבִיּוֹת פְּתוּחוֹת, אֲסוּרוֹת. סְתוּמוֹת, מֻתָּרוֹת. בִּשְׁעַת מִלְחָמָה, אֵלּוּ וָאֵלּוּ מֻתָּרוֹת, לְפִי שֶׁאֵין פְּנַאי לְנַסֵּךְ:
In the case of a military unit [ boleshet ] that entered a city, if it entered during peacetime, then after the soldiers leave the open barrels of wine are forbidden, but the sealed barrels are permitted. If the unit entered in wartime, both these barrels and those barrels are permitted, because in wartime there is no time to pour wine for libations, and one can be certain that the soldiers did not do so.

Word-by-word Breakdown (מילים ושרשים)

בַּלֶּשֶׁת → a military unit [ב - ל - ש]גּוֹיִם → gentile [ג - י - ה]שֶׁנִּכְנְסָה → that entered [נ - כ - ס]לָעִיר → into a city [ע - ר - ה]בִּשְׁעַת → during [ש - ע - ה]שָׁלוֹם → peacetime [ש - ל - ם]חָבִיּוֹת → barrels [ח - ב - ה]פְּתוּחוֹת → open [פ - ת - ח]אֲסוּרוֹת → forbidden [א - ס - ר]סְתוּמוֹת → sealed [ס - ת - ם]מֻתָּרוֹת → permitted [ת - ר - ר]בִּשְׁעַת → at the time of [ש - ע - ה]מִלְחָמָה → war [ל - ח - ם]אֵלּוּ → these וָאֵלּוּ → and those מֻתָּרוֹת → permitted [ת - ר - ר]לְפִי → because שֶׁאֵין → there is no פְּנַאי → time [פ - נ - ה]לְנַסֵּךְ → to pour libations [נ - ס - כ]