And also a Yom Tov that falls on Shabbat—we read from the parashah of the week and not regarding the matter of Yom Tov, for there is no reading on Yom Tov, and only the prayer is of Yom Tov. And we pray 'Atah Echad', and the essence of the prayer is 'Retzei Vi'menuchatenu' 'Meadesh HaShabbat', but we precede with 'Atah Echad' as in all the prayers of Shabbat, which we precede first. And they instituted three things: 'Atah Kidashta', 'Yismach Moshe', 'Atah Echad' corresponding to three Shabbats: 'Atah Kidashta'—corresponding to the Shabbat of Creation, 'Yismach Moshe'—corresponding to the Shabbat of the giving of the Torah, and 'Atah Echad'—corresponding to the Shabbat of the future. (Tur) And we say 'U'mi Ke'amcha Yisrael etc.', and it is brought in the Midrash: Three testify about one another, the Holy One, Blessed be He, Israel, and Shabbat. The Holy One, Blessed be He, and Israel testify about the Shabbat that it is a day of rest, Israel and Shabbat testify about the Holy One, Blessed be He, that He is One, the Holy One, Blessed be He, and Shabbat testify about Israel that they are unique (ibid.).
וגם יום טוב שחל בשבת - קוראין מפרשה של השבוע ולא מעניין יום טוב, דאין קריאה ביום טוב, ורק התפ(י)לה היא של יום טוב. ומתפללין 'אתה אחד', ועיקר התפלה היא 'רצה במנוחתינו' 'מקדש השבת', אלא שמקדימין ב'אתה אחד' כמו בכל תפ(י)לות של שבת, שמקדימין מקודם. ותקנו ג' דברים: 'אתה קדשת', 'ישמח משה', 'אתה אחד' כנגד ג' שבתות: 'אתה קדשת' - כנגד שבת בראשית, 'ישמח משה' - כנגד שבת של מתן תורה, ו'אתה אחד' - כנגד שבת שלעתיד. (טור)ואומרים 'ומי כעמך ישראל וכו', ואיתא במדרש: שלשה מעידין זה על זה, הקב"ה ישראל ושבת. הקב"ה וישראל מעידין על השבת שהוא יום מנוחה, ישראל ושבת מעידין על הקב"ה שהוא אחד, הקב"ה ושבת מעידין על ישראל שהם יחידים (שם).