Parshas Yisro · Passuk 20:10
Chabad.org — English translation + Rashi
Torah Temimah points to Mechilta.
Sefaria — Exodus 20:10
Sefaria — Mechilta
English: “And the seventh day” — this is a warning regarding daytime labor. “A Sabbath to the Lord your God” — this is a warning regarding nighttime labor.
On the daf / in context: The verse is parsed so that both day and night of Shabbos are independently covered by the prohibition of labor.
Category B — Textual / lexical / linguistic method
Method — The derashah assigns the two parallel phrases of the verse to the two halves of the twenty-four-hour period, ensuring that both daytime and nighttime labor are prohibited.
Textual trigger — וְיוֹם הַשְּׁבִיעִי / שַׁבָּת לַה' אֱלֹהֶיךָ.
The prohibition of labor on Shabbos covers both day and night; each half of the verse addresses one of the two periods.