17בְּכָל יוֹם תַּעֲנִית שֶׁגּוֹזְרִין עַל הַצִּבּוּר מִפְּנֵי הַצָּרוֹת. בֵּית דִּין וְהַזְּקֵנִים יוֹשְׁבִין בְּבֵית הַכְּנֶסֶת וּבוֹדְקִים עַל מַעֲשֵׂי אַנְשֵׁי הָעִיר מֵאַחַר תְּפִלַּת שַׁחֲרִית עַד חֲצוֹת הַיּוֹם. וּמְסִירִין הַמִּכְשׁוֹלוֹת שֶׁל עֲבֵרוֹת. וּמַזְהִירִין וְדוֹרְשִׁין וְחוֹקְרִין עַל בַּעֲלֵי חָמָס וַעֲבֵרוֹת וּמַפְרִישִׁין אוֹתָן. וְעַל בַּעֲלֵי זְרוֹעַ וּמַשְׁפִּילִין אוֹתָן. וְכַיּוֹצֵא בִּדְבָרִים אֵלּוּ. וּמֵחֲצִי הַיּוֹם וְלָעֶרֶב רְבִיעַ הַיּוֹם קוֹרְאִין בִּבְרָכוֹת וּקְלָלוֹת שֶׁבַּתּוֹרָה שֶׁנֶּאֱמַר (משלי ג יא) "מוּסַר ה' בְּנִי אַל תִּמְאָס וְאַל תָּקֹץ בְּתוֹכַחְתּוֹ". וּמַפְטִירִין בַּנָּבִיא בְּתוֹכָחוֹת מֵעִנְיַן הַצָּרָה. וּרְבִיעַ הַיּוֹם הָאַחֲרוֹן מִתְפַּלְּלִים מִנְחָה וּמִתְחַנְּנִים וְזוֹעֲקִים וּמִתְוַדִּים כְּפִי כֹּחָם:
Whenever there is a communal fast that was instituted for a distressing circumstance, the [community's] court and [its] elders sit in the synagogue and review the conduct of the city's [inhabitants] from the time the morning prayers were concluded until noon. They remove the stumbling blocks that lead to sin. They give warnings, enquire, and investigate all those who pursue violence and sin, and [encourage them] to depart [from these ways]. Similarly, [they investigate] people who coerce others and humble them. They also occupy themselves with other similar matters. [This is what would happen] from noon until the evening: During the [third] quarter of the day, they would read the blessings and the curses in the Torah [as implied by Proverbs 3:11]: "My son, do not despise the instruction of the Lord, and do not reject His rebuke." As the haftarah, they would read a portion from the prophets appropriate to the distress [for which they are fasting]. During the [fourth] quarter of the day, the afternoon service is recited, supplications are made, [the people] cry out [to G-d] and confess according to their capability.