סימן קכט סעיף יב
בִּשְׁעַת הוֹצָאַת סֵפֶר תּוֹרָה, נוֹהֲגִין לוֹמַר שְׁלֹשׁ עֶשְׂרֵה מִדּוֹת, וְיֵשׁ לְהַתְחִיל מִן וַיַּעֲבֹר. וְיֹּאמַר, וַיַּעֲבֹר ה' עַל פָּנָיו וַיִּקְרָא, ה', ה' וְגוֹ' (עַיֵּן מ"א סִימָן תכב וְעַיֵּן בנ"א כלל ה סִימָן ב). וּבְשַׁבָּת, יֵשׁ מְקוֹמוֹת שֶׁאֵין אוֹמְרִים שְׁלֹשׁ עֶשְׂרֵה מִדּוֹת, וְלֹא רִבּוֹנוֹ שֶׁל עוֹלָם.
When the Seifer Torah is removed from the Ark, it is customary to recite the Thirteen Attributes. You should begin with Vaya'avor [and He passed by], and say Vaya'avor Hashem al panav vayikra11This is not mentioned in Mishnah Berurah nor is it the custom in many communities. [Hashem passed by before him and He proclaimed] Hashem, Hashem, etc. On Shabbos, in some communities they say neither the Thirteen Attributes nor Ribbono shel olam [Master of the Universe].
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)