Parshas Yisro · Passuk 20:10
Chabad.org — English translation + Rashi
Torah Temimah points to Mechilta completing the cluster on the scope of Shabbos rest.
Sefaria — Exodus 20:10
Sefaria — Mechilta
English: “You shall not do any work” — this is the prohibition of work by day. “A Shabbos to the Lord your God” — this is the prohibition of work by night.
On the daf / in context: The two clauses of the verse are read as covering both daytime and nighttime labor.
Category B — Textual / lexical / linguistic method
Method — The derashah divides the verse into two complementary prohibitions, one for daytime work and one for nighttime work, so that the entire twenty-four-hour period is covered.
Textual trigger — the juxtaposition of לֹא תַעֲשֶׂה כָל מְלָאכָה with שַׁבָּת לַה' אֱלֹהֶיךָ.
The prohibition of work on Shabbos applies both by day and by night.