The tradition of resting on Shabbat comes from the Torah. According to the Torah, God created the world in six days and on the seventh day, Shabbat, He rested. Many Jews go to their temple or synagogue to pray on Shabbat.