Mishneh Torah, Shofar, Sukkah and Lulav 2:6
משנה תורה, שופר פרק א א והלאה, וראה שם עוד פרק ב א והלאה, וראה שם עוד וערך תקיעה
Mishneh Torah, Shofar, Sukkah and Lulav 2:6
When Rosh Hashanah falls on Shabbat, the shofar is not blown anywhere, because the Rabbis decreed against it out of concern that someone might carry the shofar in public or transport it from one domain to another on Shabbat, thereby transgressing the prohibition of carrying; although the positive commandment of shofar-blowing would ordinarily override a Rabbinic prohibition, here the Rabbis were concerned that not everyone knows how to blow the shofar properly.
יוֹם טוֹב שֶׁל רֹאשׁ הַשָּׁנָה שֶׁחָל לִהְיוֹת בְּשַׁבָּת אֵין תּוֹקְעִין בַּשּׁוֹפָר בְּכָל מָקוֹם. אַף עַל פִּי שֶׁהַתְּקִיעָה מִשּׁוּם שְׁבוּת וּמִן הַדִּין הָיָה שֶׁתּוֹקְעִין יָבוֹא עֲשֵׂה שֶׁל תּוֹרָה וְיִדְחֶה שְׁבוּת שֶׁל דִּבְרֵיהֶם. וְלָמָּה אֵין תּוֹקְעִין גְּזֵרָה שֶׁמָּא יִטְּלֶנּוּ בְּיָדוֹ וְיוֹלִיכֶנּוּ לְמִי שֶׁיִּתְקַע לוֹ וְיַעֲבִירֶנּוּ אַרְבַּע אַמּוֹת בִּרְשׁוּת הָרַבִּים. אוֹ יוֹצִיאוֹ מֵרְשׁוּת לִרְשׁוּת וְיָבוֹא לִידֵי אִסּוּר סְקִילָה. שֶׁהַכּל חַיָּבִים בִּתְקִיעָה וְאֵין הַכּל בְּקִיאִין לִתְקֹעַ: