ספר המדות, The Sabbath The Sabbath · ד
Sefer HaMiddot 2447
ד. עַל יְדֵי שְׁמִירַת שַׁבָּת מַמְשִׁיךְ עַל עַצְמוֹ אוֹר שֶׁל מָשִׁיחַ גַּם עַל יְדֵי תְּשׁוּבָה.
4. Through observing the Shabbat one draws upon oneself the light of the Messiah, also through repentance.