סימן קיג סעיף ד
לְהִסְתַּפֵּר וְכֵן לִקְצֹץ הַצִּפָּרְנַיִם, צְרִיכִין קֹדֶם חֲצוֹת. וְאִם שָׁכַח, יָכוֹל לִקְצֹץ צִפָּרְנָיו גַּם לְאַחַר חֲצוֹת. אֲבָל לְהִסְתַּפֵּר אָסוּר, כִּי אִם עַל יְדֵי אֵינוֹ יְהוּדִי.
You should take a haircut and cut your nails before midday.3All those who are permitted to take a haircut and to wash clothing on Chol Hamoed, are also permitted to do so on erev Pesach after midday. (See Chapter 104:11) (Ibid. 468:7) If you forget to do so, you may cut your nails in the afternoon, but it is forbidden to take a haircut, unless it is done by a non-Jew.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)