מִי שֶׁרָאָה אֶת הַחֹדֶשׁ וְאֵינוֹ יָכוֹל לְהַלֵּךְ, מוֹלִיכִין אוֹתוֹ עַל הַחֲמוֹר, אֲפִלּוּ בְמִטָּה. וְאִם צוֹדֶה לָהֶם, לוֹקְחִין בְּיָדָם מַקְּלוֹת. וְאִם הָיְתָה דֶרֶךְ רְחוֹקָה, לוֹקְחִין בְּיָדָם מְזוֹנוֹת, שֶׁעַל מַהֲלַךְ לַיְלָה וָיוֹם מְחַלְּלִין אֶת הַשַּׁבָּת וְיוֹצְאִין לְעֵדוּת הַחֹדֶשׁ, שֶׁנֶּאֱמַר (ויקרא כג), אֵלֶּה מוֹעֲדֵי ה' אֲשֶׁר תִּקְרְאוּ אוֹתָם בְּמוֹעֲדָם:

One who has seen the new moon on Shabbat, but is unable to walk (to the court to give testimony), he must be brought mounted on a donkey or even carried on a bed. If they are concerned about ambushers, they may take sticks with them; and if it was a long way to go, they may take provisions with them, since we desecrate the Shabbat and go out to testify about the new moon up to the distance of a day and a night travel, as is stated (Leviticus 23:4), "These are the festivals of the Hashem, which you shall proclaim in their appointed times."