Positive commandment · Mitzvat Aseh #9 of 613
To sanctify His name
לְקַדַּשׁ שְׁמוֹ
The verse · Vayikra 22:32
וְלֹא תְחַלְּלוּ אֶת־שֵׁם קׇדְשִׁי וְנִקְדַּשְׁתִּי בְּתוֹךְ בְּנֵי יִשְׂרָאֵל אֲנִי ה׳ מְקַדִּשְׁכֶם
“Neither shall you profane my holy name; but I will be hallowed among the children of Yisra᾽el: I am the Lord who make you holy,”
The Rambam’s words
To sanctify His name, as [Leviticus 22:32] states: "And I shall be sanctified amidst the children of Israel."
לְקַדַּשׁ שְׁמוֹ, שֶׁנֶּאֱמָר: "וְנִקְדַּשְׁתִּי, בְּתוֹךְ בְּנֵי יִשְׂרָאֵל" (ויקרא כב, לב).
Why · Sefer HaChinuch #296
Kiddush Hashem: sanctifying His Name
“The root of this commandment is well known. As Man was only created to serve his Creator. And one who does not sacrifice his body in the service of his master is not a good servant.”
Who & when
“This commandment is practiced in every place and at all times by males and females.”
Where in the Mishneh Torah
Hilchot Foundations of the Torah הלכות יסודי התורה