Шмуэль А 7:8 Галаха: Mishneh Torah, Fasts

וַיֹּאמְר֤וּ בְנֵֽי־יִשְׂרָאֵל֙ אֶל־שְׁמוּאֵ֔ל אַל־תַּחֲרֵ֣שׁ מִמֶּ֔נּוּ מִזְּעֹ֖ק אֶל־יְהוָ֣ה אֱלֹהֵ֑ינוּ וְיֹשִׁעֵ֖נוּ מִיַּ֥ד פְּלִשְׁתִּֽים׃

И сказали сыны Израилевы Самуилу: 'Перестань не плакать Господу, Богу нашему за нас, чтобы Он спас нас от руки Филистимлян.'

Mishneh Torah, Fasts

In the third, he concludes, "He who answered Samuel at Mitspah, He will answer you and hear the sound of your cry on this day. Blessed are You, Lord, who hears the cry."