Hadith 1706
Umm Salamah (May Allah be pleased with her) said:
عن أم سلمة رضي الله عنها قالت قال رسول الله صلى الله عليه وسلم : "من كان له ذبح يذبحه، فإذا أهل هلال ذي الحجة، فلا يأخذن من شعره ولا من أظفاره شيئًا حتى يضحي" ((رواه مسلم)).
The Messenger of Allah (ﷺ) said, "When anyone of you intends to sacrifice the animal and enter in the month of Dhul-Hijjah, he should not get his hair cut or nails pared till he has offered his sacrifice." [Muslim].
In plain words
Whoever intends to offer a sacrifice, once the month of Dhul-Hijjah has begun, is told not to cut his hair or trim his nails until the sacrifice is made. A small way of marking these days for worship.
Reference : Riyad as-Salihin 1706 In-book reference : Book 17, Hadith 196